forked from Lainports/opnsense-ports
31 lines
672 B
Makefile
31 lines
672 B
Makefile
# Created by: Jille Timmermans (jille@quis.cx)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= oggvideotools
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Toolbox for manipulating Ogg video files
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LIB_DEPENDS= libgd.so:graphics/gd \
|
|
libogg.so:audio/libogg \
|
|
libtheora.so:multimedia/libtheora \
|
|
libvorbis.so:audio/libvorbis
|
|
|
|
USES= cmake compiler:c++11-lib pkgconfig
|
|
USE_CXXSTD= c++11
|
|
USE_SDL= sdl
|
|
USE_LDCONFIG= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-O0.*-fPIC|-fPIC|' ${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|