aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2006-01-16 11:54:23 +0800
committeradamw <adamw@FreeBSD.org>2006-01-16 11:54:23 +0800
commit6702071a0ed6752bd213c76290cf0934afc4d095 (patch)
treeef70c12455f90269b6c8b149febe1b9b447ffc1e
parentc4281db0b00ba0e6409ea0fe8f541e085f2e0549 (diff)
downloadfreebsd-ports-gnome-6702071a0ed6752bd213c76290cf0934afc4d095.tar.gz
freebsd-ports-gnome-6702071a0ed6752bd213c76290cf0934afc4d095.tar.zst
freebsd-ports-gnome-6702071a0ed6752bd213c76290cf0934afc4d095.zip
Update to 1.6.8. Add musepack (libmpcdec) support. Correct WWW.
-rw-r--r--audio/cmus/Makefile13
-rw-r--r--audio/cmus/distinfo6
-rw-r--r--audio/cmus/pkg-descr2
-rw-r--r--audio/cmus/pkg-plist4
4 files changed, 19 insertions, 6 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=""
diff --git a/audio/cmus/distinfo b/audio/cmus/distinfo
index a0dc6bbe6ad5..bfaedc9d9ead 100644
--- a/audio/cmus/distinfo
+++ b/audio/cmus/distinfo
@@ -1,3 +1,3 @@
-MD5 (cmus-1.6.7.tar.bz2) = 64771774d3f2363afa7e77242454e8ed
-SHA256 (cmus-1.6.7.tar.bz2) = 1b7e4b181d272c56f71fe7f71cdc820517730143aa52429f1b77a0d77855b44d
-SIZE (cmus-1.6.7.tar.bz2) = 138811
+MD5 (cmus-1.6.8.tar.bz2) = 385f73b17d2a4d107d0fa05281f7958e
+SHA256 (cmus-1.6.8.tar.bz2) = e9594de4c0cc2ed845923f5b65d09834eab82a88555dcf4011985033ba211629
+SIZE (cmus-1.6.8.tar.bz2) = 142420
diff --git a/audio/cmus/pkg-descr b/audio/cmus/pkg-descr
index 00527c5edfdc..b3c63b82d60f 100644
--- a/audio/cmus/pkg-descr
+++ b/audio/cmus/pkg-descr
@@ -16,4 +16,4 @@ CMus has vi-style command interface, e.g. searching using '/' or
* Directory browser
* Supports 256 colors
-WWW: http://onion.dynserv.net/~timo/index.php?page=Projects/cmus
+WWW: http://onion.dynserv.net/~timo/cmus.html
diff --git a/audio/cmus/pkg-plist b/audio/cmus/pkg-plist
index edbc29ef2e6b..4f7f6f65bcb5 100644
--- a/audio/cmus/pkg-plist
+++ b/audio/cmus/pkg-plist
@@ -3,13 +3,15 @@ bin/cmus-remote
lib/cmus/ip/flac.so
lib/cmus/ip/mad.so
%%MODPLUG%%lib/cmus/ip/modplug.so
+%%MPC%%lib/cmus/ip/mpc.so
%%VORBIS%%lib/cmus/ip/vorbis.so
lib/cmus/ip/wav.so
%%ARTS%%lib/cmus/op/arts.so
lib/cmus/op/oss.so
-%%DATADIR%%/cmus-status-display
%%DATADIR%%/keybindings
%%DOCSDIR%%/cmus.html
+%%DOCSDIR%%/examples/cmus-status-display
+@dirrm %%DOCSDIR%%/examples
@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
@dirrm lib/cmus/op