aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2006-08-27 21:04:36 +0800
committernobutaka <nobutaka@FreeBSD.org>2006-08-27 21:04:36 +0800
commitd3c63f30f29cb3610e725cfc2932adc27f1e85b6 (patch)
tree63a38417eeea3aff793f4678b9c06cb880c63a2a /multimedia
parent7dec181ba2878cfc30e0664991df652532050482 (diff)
downloadfreebsd-ports-gnome-d3c63f30f29cb3610e725cfc2932adc27f1e85b6.tar.gz
freebsd-ports-gnome-d3c63f30f29cb3610e725cfc2932adc27f1e85b6.tar.zst
freebsd-ports-gnome-d3c63f30f29cb3610e725cfc2932adc27f1e85b6.zip
- Make dependency to graphics/aalib optional and add WITH_AALIB knob.
- Rename WITH_LIBCACA to WITH_CACA to conform with KNOBS.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xine/Makefile18
-rw-r--r--multimedia/xine/pkg-plist4
2 files changed, 15 insertions, 7 deletions
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile
index 427e04e90618..7bb4f9d6de80 100644
--- a/multimedia/xine/Makefile
+++ b/multimedia/xine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xine
PORTVERSION= 0.99.4
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,7 +17,6 @@ MAINTAINER= nobutaka@FreeBSD.org
COMMENT= An X11 multimedia player
LIB_DEPENDS= xine.15:${PORTSDIR}/multimedia/libxine \
- aa.1:${PORTSDIR}/graphics/aalib \
png.5:${PORTSDIR}/graphics/png \
curl.3:${PORTSDIR}/ftp/curl
@@ -72,10 +71,19 @@ LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFIGURE_ARGS+= --disable-xft
.endif
-.if !defined(WITHOUT_LIBCACA) && (exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA))
-PLIST_SUB+= WITH_LIBCACA=""
+.if !defined(WITHOUT_CACA) && (exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_CACA))
+PLIST_SUB+= WITH_CACA=""
.else
-PLIST_SUB+= WITH_LIBCACA="@comment "
+PLIST_SUB+= WITH_CACA="@comment "
+CONFIGURE_ARGS+= --without-libcaca --disable-cacatest
+.endif
+
+.if !defined(WITHOUT_AALIB) && (exists(${LOCALBASE}/lib/libaa.so.1) || defined (WITH_AALIB))
+LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
+PLIST_SUB+= WITH_AALIB=""
+.else
+PLIST_SUB+= WITH_AALIB="@comment "
+CONFIGURE_ARGS+= --without-aalib --disable-aalibtest
.endif
post-patch:
diff --git a/multimedia/xine/pkg-plist b/multimedia/xine/pkg-plist
index 065b8579a692..ab96e85036e3 100644
--- a/multimedia/xine/pkg-plist
+++ b/multimedia/xine/pkg-plist
@@ -1,5 +1,5 @@
-bin/aaxine
-%%WITH_LIBCACA%%bin/cacaxine
+%%WITH_AALIB%%bin/aaxine
+%%WITH_CACA%%bin/cacaxine
bin/fbxine
bin/xine
bin/xine-bugreport