aboutsummaryrefslogtreecommitdiff
path: root/multimedia/bmpx/Makefile
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2007-04-14 17:36:10 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2007-04-14 17:36:10 +0000
commitccd36deeb8879edbdaf1349eb6eec5ed53477847 (patch)
tree2e3b4f4434b839438bce6e9d6f3447e60c5175d5 /multimedia/bmpx/Makefile
parentcdf120dd5bf3e7d6e22589ed474ed6e08ee0c831 (diff)
downloadports-ccd36deeb8879edbdaf1349eb6eec5ed53477847.tar.gz
ports-ccd36deeb8879edbdaf1349eb6eec5ed53477847.zip
Add support for mp4/aac media-tags.
PR: 109919 Submitted by: ahze
Notes
Notes: svn path=/head/; revision=189960
Diffstat (limited to 'multimedia/bmpx/Makefile')
-rw-r--r--multimedia/bmpx/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/multimedia/bmpx/Makefile b/multimedia/bmpx/Makefile
index 87196e3494c9..7b55755534cd 100644
--- a/multimedia/bmpx/Makefile
+++ b/multimedia/bmpx/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bmpx
PORTVERSION= 0.36.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://files.beep-media-player.org/releases/0.36/
@@ -79,6 +79,15 @@ CONFIGURE_ARGS+= --disable-sid
PLIST_SUB+= SID="@comment "
.endif
+.if defined(WITH_FAAD) || defined(WITH_MPEG4IP)
+CONFIGURE_ARGS+= --enable-mp4v2
+LIB_DEPENDS+= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
+USE_GSTREAMER+= faad
+PLIST_SUB+= MPEG4IP=""
+.else
+PLIST_SUB+= MPEG4IP="@comment "
+.endif
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000