aboutsummaryrefslogtreecommitdiff
path: root/audio/cmus
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2006-08-09 12:32:59 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2006-08-09 12:32:59 +0000
commit89b26ef6e8260e3c808112513f209092e51829e7 (patch)
tree6c4915055f8f6b32a3609ae52fc599679e3b287c /audio/cmus
parentd4538574a2dbf2d329071fc719046ceed93473d1 (diff)
downloadports-89b26ef6e8260e3c808112513f209092e51829e7.tar.gz
ports-89b26ef6e8260e3c808112513f209092e51829e7.zip
Update to 2.0.2.
PR: ports/98792 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=170196
Diffstat (limited to 'audio/cmus')
-rw-r--r--audio/cmus/Makefile16
-rw-r--r--audio/cmus/distinfo6
-rw-r--r--audio/cmus/pkg-plist4
3 files changed, 21 insertions, 5 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 7a45cb18c577..bef7da1da337 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= cmus
-PORTVERSION= 2.0.0
-PORTREVISION= 1
+PORTVERSION= 2.0.2
CATEGORIES= audio
MASTER_SITES= http://onion.dynserv.net/~timo/files/ \
http://mirror.greaterscope.net/cmus/
@@ -97,13 +96,26 @@ PLIST_SUB+= ARTS="@comment "
PREMSG+= Define WITH_ARTS=yes to enable arts output support.\n
.endif
+MAN1= cmus.1 cmus-remote.1
+
pre-everything::
@${PRINTF} "${PREMSG}"
@${ECHO_CMD}
+post-extract:
+ @${REINPLACE_CMD} -e 's, -Wno-pointer-sign,,' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's,$$(mandir)/man1,${PREFIX}/man/man1,' \
+ ${WRKSRC}/Doc/Makefile
+
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
"s|/bin/bash|${LOCALBASE}/bin/bash|; \
s|-lncursesw|-lncurses|g"
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}/examples
+ ${INSTALL} ${WRKSRC}/cmus-status-display ${DOCSDIR}/examples
+.endif
+
.include <bsd.port.post.mk>
diff --git a/audio/cmus/distinfo b/audio/cmus/distinfo
index 472ca7756cb1..807e8c7bccd7 100644
--- a/audio/cmus/distinfo
+++ b/audio/cmus/distinfo
@@ -1,3 +1,3 @@
-MD5 (cmus-2.0.0.tar.bz2) = 181704377e17dc3d8ca9e69e7a004c14
-SHA256 (cmus-2.0.0.tar.bz2) = 88d85c68a143fba4fcffc9f148d1c0a818b6f9030da49528b8abd83c11cecb5c
-SIZE (cmus-2.0.0.tar.bz2) = 143942
+MD5 (cmus-2.0.2.tar.bz2) = b2779489fef402def3162dc3fad29151
+SHA256 (cmus-2.0.2.tar.bz2) = b33340f22a29e5bd709beebd3ed11f1229f8aad7a64e8e0455f09353c4b99eef
+SIZE (cmus-2.0.2.tar.bz2) = 145345
diff --git a/audio/cmus/pkg-plist b/audio/cmus/pkg-plist
index 1ea4e76d1482..f89b11bf4c11 100644
--- a/audio/cmus/pkg-plist
+++ b/audio/cmus/pkg-plist
@@ -13,6 +13,10 @@ lib/cmus/op/oss.so
%%DATADIR%%/cyan.theme.bak
%%DATADIR%%/default.theme
%%DATADIR%%/default.theme.bak
+%%DATADIR%%/gray-88.theme
+%%DATADIR%%/gray-88.theme.bak
+%%DATADIR%%/green-mono-88.theme
+%%DATADIR%%/green-mono-88.theme.bak
%%DATADIR%%/rc
%%DATADIR%%/rc.bak
%%DOCSDIR%%/examples/cmus-status-display