aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmus
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2006-01-02 04:12:55 +0800
committeradamw <adamw@FreeBSD.org>2006-01-02 04:12:55 +0800
commit5a3fac0efd58c74438345830114384b61b2e22d2 (patch)
tree7109314535c5090be528fa1e609bc04ffd5988ae /audio/cmus
parentaad288c65175baf69671c96293c972887dc0f3fe (diff)
downloadfreebsd-ports-gnome-5a3fac0efd58c74438345830114384b61b2e22d2.tar.gz
freebsd-ports-gnome-5a3fac0efd58c74438345830114384b61b2e22d2.tar.zst
freebsd-ports-gnome-5a3fac0efd58c74438345830114384b61b2e22d2.zip
Update to 1.6.6. Add libtremor support (autodetected, and via WITH_TREMOR).
Diffstat (limited to 'audio/cmus')
-rw-r--r--audio/cmus/Makefile12
-rw-r--r--audio/cmus/distinfo6
-rw-r--r--audio/cmus/pkg-plist4
3 files changed, 16 insertions, 6 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=""
diff --git a/audio/cmus/distinfo b/audio/cmus/distinfo
index 179b6e30b063..9a6e2742d745 100644
--- a/audio/cmus/distinfo
+++ b/audio/cmus/distinfo
@@ -1,3 +1,3 @@
-MD5 (cmus-1.6.5.tar.bz2) = de6d0c5242f39cabbfb2937430881bcb
-SHA256 (cmus-1.6.5.tar.bz2) = 6cafe7463ff5ba9dd8c80e1cce1cf24cc4173ed5d03f1e3c25ac716c19360670
-SIZE (cmus-1.6.5.tar.bz2) = 139626
+MD5 (cmus-1.6.6.tar.bz2) = baeed83658f5af289c7236efc8e66ffd
+SHA256 (cmus-1.6.6.tar.bz2) = 6c32716e4e1bb9cff2a270c6ac1afde1ac09da9a3df6b26516bf89bdd946f973
+SIZE (cmus-1.6.6.tar.bz2) = 138559
diff --git a/audio/cmus/pkg-plist b/audio/cmus/pkg-plist
index 5fb53b821066..edbc29ef2e6b 100644
--- a/audio/cmus/pkg-plist
+++ b/audio/cmus/pkg-plist
@@ -8,9 +8,9 @@ lib/cmus/ip/wav.so
%%ARTS%%lib/cmus/op/arts.so
lib/cmus/op/oss.so
%%DATADIR%%/cmus-status-display
-%%DATADIR%%/doc/cmus.html
%%DATADIR%%/keybindings
-@dirrm %%DATADIR%%/doc
+%%DOCSDIR%%/cmus.html
+@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
@dirrm lib/cmus/op
@dirrm lib/cmus/ip