diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2004-11-28 15:11:55 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2004-11-28 15:11:55 +0000 |
commit | 59d8bf140370657d7b01b0b133dadb4834aed808 (patch) | |
tree | 88fb151adc632233a3218d027b73bbd40e400342 /audio | |
parent | 7337f913ebd184e4ab7336b14c32e6a63e74ed7c (diff) | |
download | ports-59d8bf140370657d7b01b0b133dadb4834aed808.tar.gz ports-59d8bf140370657d7b01b0b133dadb4834aed808.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/faac/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/audio/faac/Makefile b/audio/faac/Makefile index 61a72b14bd48..8726a26dfba2 100644 --- a/audio/faac/Makefile +++ b/audio/faac/Makefile @@ -7,7 +7,7 @@ PORTNAME= faac PORTVERSION= 1.24 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= faac @@ -31,6 +31,18 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ INSTALLS_SHLIB= yes +OPTIONS= MPEG4IP "Enable mpeg4 audio encoding" On + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libmp4v2.a) +WITH_MPEG4IP=yes +.endif + +.if defined(WITH_MPEG4IP) +LIB_DEPENDS+= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 +.endif + pre-patch: build-depends post-patch: @@ -40,4 +52,4 @@ post-patch: ${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \ ${WRKSRC}/aclocal.m4 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |