aboutsummaryrefslogtreecommitdiff
path: root/audio/cmus/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2006-01-16 03:54:23 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2006-01-16 03:54:23 +0000
commit995a845ed76ce8be47340f3cebc720ddcfd70952 (patch)
treeb258da5f4f2db1ee82591686b8e48f024620e483 /audio/cmus/Makefile
parentfd332c034b8f5b682e7cdfc26a2f970d4e96f11f (diff)
downloadports-995a845ed76ce8be47340f3cebc720ddcfd70952.tar.gz
ports-995a845ed76ce8be47340f3cebc720ddcfd70952.zip
Notes
Diffstat (limited to 'audio/cmus/Makefile')
-rw-r--r--audio/cmus/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 159d21547b0c..3facc7b42c44 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cmus
-PORTVERSION= 1.6.7
+PORTVERSION= 1.6.8
CATEGORIES= audio
MASTER_SITES= http://onion.dynserv.net/~timo/files/
@@ -37,6 +37,9 @@ WITH_MODPLUG= yes
.if exists(${LOCALBASE}/lib/libvorbisidec.so)
WITH_TREMOR= yes
.endif
+.if exists(${LOCALBASE}/lib/libmpcdec.so)
+WITH_MUSEPACK= yes
+.endif
.if exists(${LOCALBASE}/lib/libartsc.so)
WITH_ARTS= yes
.endif
@@ -66,6 +69,14 @@ CONFIGURE_ARGS+=--with-tremor
PREMSG+= Define WITH_TREMOR=yes to enable libtremor support.\n
.endif
+.if defined(WITH_MUSEPACK)
+LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/libmpcdec
+PLIST_SUB+= MPC=""
+.else
+PLIST_SUB+= MPC="@comment "
+PREMSG+= Define WITH_MUSEPACK=yes to enable musepack support.\n
+.endif
+
.if defined(WITH_ARTS)
LIB_DEPENDS+= artsc:${PORTSDIR}/audio/arts
PLIST_SUB+= ARTS=""