diff options
Diffstat (limited to 'audio/rebler/Makefile')
-rw-r--r-- | audio/rebler/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/audio/rebler/Makefile b/audio/rebler/Makefile new file mode 100644 index 0000000..cc0439e --- /dev/null +++ b/audio/rebler/Makefile @@ -0,0 +1,35 @@ +# ex:ts=8 +# New ports collection makefile for: rebler +# Date created: Nov 3, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= rebler +PORTVERSION= 1.0 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= mpeg2:${PORTSDIR}/graphics/libmpeg2 \ + aviplay:${PORTSDIR}/graphics/avifile \ + popt:${PORTSDIR}/devel/popt + +USE_BZIP2= yes +AVIFILE_CONFIG?= ${LOCALBASE}/bin/avifile-config +CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \ + `${AVIFILE_CONFIG} --cflags` +LIBS+= -L${LOCALBASE}/lib -lm -lmpeg2 ${PTHREAD_LIBS} \ + `${AVIFILE_CONFIG} --libs` -lpopt + +do-build: + @(cd ${WRKSRC} ; \ + ${CXX} ${CXXFLAGS} rebler.cpp -o rebler ${LIBS}) + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/rebler ${PREFIX}/bin + +.include <bsd.port.mk> |