aboutsummaryrefslogtreecommitdiff
path: root/audio/ncmpc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-25 08:44:59 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-25 08:44:59 +0000
commit63f28e0666de808151bd3f3d2638634662969c6f (patch)
tree1285cbeaf5b17c6666d5e7760b7d155b52bb2fff /audio/ncmpc
parent51a6aa5e097350fd73780b54d898d030bd6f075c (diff)
downloadports-63f28e0666de808151bd3f3d2638634662969c6f.tar.gz
ports-63f28e0666de808151bd3f3d2638634662969c6f.zip
Notes
Diffstat (limited to 'audio/ncmpc')
-rw-r--r--audio/ncmpc/Makefile22
-rw-r--r--audio/ncmpc/distinfo6
2 files changed, 16 insertions, 12 deletions
diff --git a/audio/ncmpc/Makefile b/audio/ncmpc/Makefile
index 10cc910b258e..1753945acebb 100644
--- a/audio/ncmpc/Makefile
+++ b/audio/ncmpc/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= ncmpc
-PORTVERSION= 0.15
+PORTVERSION= 0.16
CATEGORIES= audio
MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION}
MAINTAINER= hrkfdn@gmail.com
COMMENT= Ncurses client for the musicpd
+LIB_DEPENDS= mpdclient:${PORTSDIR}/audio/libmpdclient
+
GNU_CONFIGURE= yes
USE_GNOME= glib20
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -34,7 +36,7 @@ PLIST_DIRS=%%EXAMPLESDIR%%
CONFIGURE_ARGS+=--disable-nls
.else
USE_GETTEXT= yes
-LANGUAGES=cs da de es fr gl he hu ko nb nl ru sk sv uk zh_CN
+LANGUAGES=cs da de eo es fr gl he hu ko nb nl ru sk sv uk zh_CN
.for language in ${LANGUAGES}
PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo
.endfor
@@ -43,9 +45,10 @@ PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo
.ifdef(WITH_LYRICS)
CONFIGURE_ARGS+=--enable-lyrics-screen
-PLIST_FILES+= lib/ncmpc/lyrics/01-hd.sh \
- lib/ncmpc/lyrics/02-lyricwiki.rb \
- lib/ncmpc/lyrics/03-leoslyrics.py
+PLIST_FILES+= lib/ncmpc/lyrics/10-hd.sh \
+ lib/ncmpc/lyrics/15-leoslyrics.sh \
+ lib/ncmpc/lyrics/20-lyricwiki.rb \
+ lib/ncmpc/lyrics/30-leoslyrics.py
PLIST_DIRS+= lib/ncmpc/lyrics \
lib/ncmpc
.else
@@ -56,7 +59,7 @@ MAN1= ncmpc.1
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
- ${WRKSRC}/lyrics/03-leoslyrics.py
+ ${WRKSRC}/lyrics/30-leoslyrics.py
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpc ${PREFIX}/bin/
@@ -73,9 +76,10 @@ do-install:
.endif
.if !defined(WITHOUT_LYRICS)
${MKDIR} ${PREFIX}/lib/ncmpc/lyrics
- ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/01-hd.sh ${PREFIX}/lib/ncmpc/lyrics/01-hd.sh
- ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/02-lyricwiki.rb ${PREFIX}/lib/ncmpc/lyrics/02-lyricwiki.rb
- ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/03-leoslyrics.py ${PREFIX}/lib/ncmpc/lyrics/03-leoslyrics.py
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/10-hd.sh ${PREFIX}/lib/ncmpc/lyrics/10-hd.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/15-leoslyrics.sh ${PREFIX}/lib/ncmpc/lyrics/15-leoslyrics.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/20-lyricwiki.rb ${PREFIX}/lib/ncmpc/lyrics/20-lyricwiki.rb
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/30-leoslyrics.py ${PREFIX}/lib/ncmpc/lyrics/30-leoslyrics.py
.endif
.include <bsd.port.post.mk>
diff --git a/audio/ncmpc/distinfo b/audio/ncmpc/distinfo
index f210f6891ffb..8674589214ea 100644
--- a/audio/ncmpc/distinfo
+++ b/audio/ncmpc/distinfo
@@ -1,3 +1,3 @@
-MD5 (ncmpc-0.15.tar.gz) = 363fde730c9b4a5cec05e00e7ae64e03
-SHA256 (ncmpc-0.15.tar.gz) = c28c02b6289b43f1301f0f73121c928fc88c90008fbf3bda6a5069a8519b5887
-SIZE (ncmpc-0.15.tar.gz) = 328034
+MD5 (ncmpc-0.16.tar.gz) = 35ee60f7ce93f53201946dc29f9facbc
+SHA256 (ncmpc-0.16.tar.gz) = 9f58d4607a14e2883480bf641c8e947be7695b619cf3d1158ac48e11b33ffa5a
+SIZE (ncmpc-0.16.tar.gz) = 326048