aboutsummaryrefslogtreecommitdiff
path: root/audio/cmus/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2006-01-01 20:12:55 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2006-01-01 20:12:55 +0000
commit70269b42b76c0e2e7119384b2bfc637b282a824c (patch)
tree8749b432f02ad3aed289a109c88e6fad8b65a79a /audio/cmus/Makefile
parent2575f8258ed73531649dcd1e893ee85fd9019f44 (diff)
downloadports-70269b42b76c0e2e7119384b2bfc637b282a824c.tar.gz
ports-70269b42b76c0e2e7119384b2bfc637b282a824c.zip
Notes
Diffstat (limited to 'audio/cmus/Makefile')
-rw-r--r--audio/cmus/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index fc251a5de553..c3b344d1c5c4 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cmus
-PORTVERSION= 1.6.5
+PORTVERSION= 1.6.6
CATEGORIES= audio
MASTER_SITES= http://onion.dynserv.net/~timo/files/
@@ -34,6 +34,9 @@ WITH_VORBIS= yes
.if exists(${LOCALBASE}/lib/libmodplug.so)
WITH_MODPLUG= yes
.endif
+.if exists(${LOCALBASE}/lib/libvorbisidec.so)
+WITH_TREMOR= yes
+.endif
.if exists(${LOCALBASE}/lib/libartsc.so)
WITH_ARTS= yes
.endif
@@ -54,6 +57,13 @@ PLIST_SUB+= MODPLUG="@comment "
PREMSG+= Define WITH_MODPLUG=yes to enable module music files.\n
.endif
+.if defined(WITH_TREMOR)
+LIB_DEPENDS+= vorbisidec:${PORTSDIR}/audio/libtremor
+CONFIGURE_ARGS+=--with-tremor
+.else
+PREMSG+= Define WITH_TREMOR=yes to enable libtremor support.\n
+.endif
+
.if defined(WITH_ARTS)
LIB_DEPENDS+= artsc:${PORTSDIR}/audio/arts
PLIST_SUB+= ARTS=""