diff options
author | ahze <ahze@FreeBSD.org> | 2004-11-28 23:11:55 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-11-28 23:11:55 +0800 |
commit | 7fe063864b7830cc0bdee070fd76d4be10220ce9 (patch) | |
tree | 58ec3f7d2999c471f09a2460e1dcccea73c7db63 | |
parent | 710568fe9866781c99fc5b8fb5df0f9391633210 (diff) | |
download | freebsd-ports-gnome-7fe063864b7830cc0bdee070fd76d4be10220ce9.tar.gz freebsd-ports-gnome-7fe063864b7830cc0bdee070fd76d4be10220ce9.tar.zst freebsd-ports-gnome-7fe063864b7830cc0bdee070fd76d4be10220ce9.zip |
- Add option for mpeg4 audio coding via mpeg4ip-libmp4v2 (WITH_MPEG4IP)
- Bump PORTREVISION
-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> |