aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2010-08-25 06:01:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2010-08-25 06:01:19 +0000
commit51a68f86599b8e63e129865c854000eb2cb8d9ca (patch)
tree488d82e2fd63e89604d6403022483343ef46e978 /audio
parent9d7e8cb34c5690759e6bb5e9502cfe73c3dafc23 (diff)
downloadports-51a68f86599b8e63e129865c854000eb2cb8d9ca.tar.gz
ports-51a68f86599b8e63e129865c854000eb2cb8d9ca.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/gogglesmm/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile
index 8045302aa444..908efcd59360 100644
--- a/audio/gogglesmm/Makefile
+++ b/audio/gogglesmm/Makefile
@@ -13,15 +13,16 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= bapt@FreeBSD.org
COMMENT= Music collection manager and player
-LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 \
- xine.1:${PORTSDIR}/multimedia/libxine \
+LIB_DEPENDS= xine.1:${PORTSDIR}/multimedia/libxine \
tag.1:${PORTSDIR}/audio/taglib \
sqlite3.8:${PORTSDIR}/databases/sqlite3
OPTIONS= DBUS "Add DBUS support" on \
CURL "Add Curl support" on \
NLS "Add support for nls" on \
- NEWREMOTE "Use new remote player" on
+ NEWREMOTE "Use new remote player" on \
+ FOX16 "Use stable branch of FOX" on \
+ FOX17 "Use development branch of FOX" off
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
@@ -37,6 +38,18 @@ PORTDOCS= README AUTHORS
CONFIGURE_ENV= OPT_CFLAGS=" "
.include <bsd.port.options.mk>
+.if (defined(WITHOUT_FOX16) && defined(WITHOUT_FOX17)) || (defined(WITH_FOX16) && defined(WITH_FOX17))
+IGNORE= You should choose between FOX16 and FOX17
+.endif
+
+.if defined(WITH_FOX16)
+LIB_DEPENDS+= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16
+.endif
+
+.if defined(WITH_FOX17)
+LIB_DEPENDS+= FOX-1.7:${PORTSDIR}/x11-toolkits/fox17
+.endif
+
.if defined(WITHOUT_DBUS)
CONFIGURE_ARGS+= --without-dbus
.else