diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2006-08-27 13:04:36 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2006-08-27 13:04:36 +0000 |
commit | 8746a396821961bf18aea83a92bcf569f017c7f9 (patch) | |
tree | f5f3cbcbdf8872be2f69512d8b1741a4d4c3f7e7 /multimedia/xine | |
parent | - Remove dependency to math/djbfft. (diff) |
- 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/xine')
-rw-r--r-- | multimedia/xine/Makefile | 18 | ||||
-rw-r--r-- | multimedia/xine/pkg-plist | 4 |
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 |