aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libxine/Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2007-09-24 14:52:19 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2007-09-24 14:52:19 +0000
commitadefd37e7d73b4dd84b2a65bd79bfeec84509761 (patch)
treeb28db00c55ce854df307c51c5562a021209058ca /multimedia/libxine/Makefile
parent45d9a259ae5493e9516799efcb973fe3b7abf7ab (diff)
downloadports-adefd37e7d73b4dd84b2a65bd79bfeec84509761.tar.gz
ports-adefd37e7d73b4dd84b2a65bd79bfeec84509761.zip
Notes
Diffstat (limited to 'multimedia/libxine/Makefile')
-rw-r--r--multimedia/libxine/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 0f9755a1a993..1e7c00de1f1d 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xine
PORTVERSION= 1.1.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -64,6 +64,7 @@ OPTIONS= ARTS "Enable aRts support" off \
AALIB "Enable aalib support" off \
IMAGEMAGICK "Enable ImageMagick support" off \
GTK2 "Enable gdkpixbuf support" off \
+ WAVPACK "Enable WavPack support" on \
MAN1= xine-config.1
MAN5= xine.5
@@ -168,6 +169,15 @@ PLIST_SUB+= WITH_GTK2="@comment "
CONFIGURE_ARGS+= --disable-gdkpixbuf
.endif
+.if defined(WITH_WAVPACK)
+LIB_DEPENDS+= wavpack.1:${PORTSDIR}/audio/wavpack
+PLIST_SUB+= WITH_WAVPACK=""
+CONFIGURE_ARGS+= --with-wavpack
+.else
+PLIST_SUB+= WITH_WAVPACK="@comment "
+CONFIGURE_ARGS+= --without-wavpack
+.endif
+
.if ${CONFIGURE_ARGS:M*--without-imagemagick*} == "" || ${CONFIGURE_ARGS:M*-disable-gdkpixbuf*} == ""
PLIST_SUB+= WITH_DMX_IMAGE=""
.else