- Update to 0.16

PR:		142329
Submitted by:	Henrik Friedrichsen <hrkfdn@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2010-01-25 08:44:59 +00:00
parent 51a6aa5e09
commit 63f28e0666
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248508
2 changed files with 16 additions and 12 deletions

View File

@ -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>

View File

@ -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