Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2014 18:24:53 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346948 - head/audio/ncmpc
Message-ID:  <201403031824.s23IOr4A054233@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Mar  3 18:24:53 2014
New Revision: 346948
URL: http://svnweb.freebsd.org/changeset/ports/346948
QAT: https://qat.redports.org/buildarchive/r346948/

Log:
  - Update to version 0.21 [1]
  - Add staging support
  - Fix shebang in one of the scripts
  
  PR:		ports/187144 [1]
  Submitted by:	maintainer

Modified:
  head/audio/ncmpc/Makefile
  head/audio/ncmpc/distinfo
  head/audio/ncmpc/pkg-descr

Modified: head/audio/ncmpc/Makefile
==============================================================================
--- head/audio/ncmpc/Makefile	Mon Mar  3 18:19:16 2014	(r346947)
+++ head/audio/ncmpc/Makefile	Mon Mar  3 18:24:53 2014	(r346948)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	ncmpc
-PORTVERSION=	0.20
+PORTVERSION=	0.21
 CATEGORIES=	audio
-MASTER_SITES=	SF/musicpd/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	http://www.musicpd.org/download/ncmpc/0/
 
 MAINTAINER=	henrik@affekt.org
 COMMENT=	Ncurses client for the musicpd
@@ -13,7 +13,6 @@ LIB_DEPENDS=	libmpdclient.so:${PORTSDIR}
 
 GNU_CONFIGURE=	yes
 USE_GNOME=	glib20
-NO_STAGE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
@@ -23,8 +22,10 @@ LYRICS_DESC=	Compile with lyrics screen
 
 .include <bsd.port.options.mk>
 
-USES=		iconv pkgconfig
+USES=		iconv pkgconfig shebangfix
+SHEBANG_FILES=	lyrics/15-leoslyrics.sh
 PLIST_FILES=	bin/ncmpc \
+		man/man1/ncmpc.1.gz \
 		%%EXAMPLESDIR%%/config \
 		%%EXAMPLESDIR%%/keys \
 		%%EXAMPLESDIR%%/ncmpc.lirc
@@ -52,31 +53,27 @@ PLIST_DIRS+=	lib/ncmpc/lyrics \
 CONFIGURE_ARGS+=--disable-lyrics-screen
 .endif
 
-MAN1=		ncmpc.1
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
 	    ${WRKSRC}/lyrics/30-leoslyrics.py
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpc ${PREFIX}/bin/
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/config.sample ${EXAMPLESDIR}/config
-	${INSTALL_DATA} ${WRKSRC}/doc/keys.sample ${EXAMPLESDIR}/keys
-	${INSTALL_DATA} ${WRKSRC}/doc/ncmpc.lirc ${EXAMPLESDIR}/
-	${INSTALL_MAN} ${WRKSRC}/doc/ncmpc.1 ${MAN1PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpc ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/config.sample ${STAGEDIR}${EXAMPLESDIR}/config
+	${INSTALL_DATA} ${WRKSRC}/doc/keys.sample ${STAGEDIR}${EXAMPLESDIR}/keys
+	${INSTALL_DATA} ${WRKSRC}/doc/ncmpc.lirc ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_MAN} ${WRKSRC}/doc/ncmpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 .if ${PORT_OPTIONS:MNLS}
 .for language in ${LANGUAGES}
-	${MKDIR} ${LOCALBASE}/share/locale/${language}/LC_MESSAGES
-	${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo ${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES
+	${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo \
+		${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo
 .endfor
 .endif
-.if ${PORT_OPTIONS:MLYRICS}
-	${MKDIR} ${PREFIX}/lib/ncmpc/lyrics
-	${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
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ncmpc/lyrics
+	(cd ${WRKSRC}/lyrics && ${INSTALL_SCRIPT} \
+		10-hd.sh 15-leoslyrics.sh 20-lyricwiki.rb 30-leoslyrics.py \
+		${STAGEDIR}${PREFIX}/lib/ncmpc/lyrics)
 
 .include <bsd.port.mk>

Modified: head/audio/ncmpc/distinfo
==============================================================================
--- head/audio/ncmpc/distinfo	Mon Mar  3 18:19:16 2014	(r346947)
+++ head/audio/ncmpc/distinfo	Mon Mar  3 18:24:53 2014	(r346948)
@@ -1,2 +1,2 @@
-SHA256 (ncmpc-0.20.tar.gz) = 7ed3b1e3d3321855b20725a7ddc9b1ede6487760647755bae5e4e7999e661205
-SIZE (ncmpc-0.20.tar.gz) = 437453
+SHA256 (ncmpc-0.21.tar.gz) = 26a8b0fef8a42505000b844c5ef3403f4f8777cb2857aee7eb8672057236febe
+SIZE (ncmpc-0.21.tar.gz) = 493635

Modified: head/audio/ncmpc/pkg-descr
==============================================================================
--- head/audio/ncmpc/pkg-descr	Mon Mar  3 18:19:16 2014	(r346947)
+++ head/audio/ncmpc/pkg-descr	Mon Mar  3 18:24:53 2014	(r346948)
@@ -2,4 +2,4 @@ ncmpc is a ncurses client for the Music 
 ncmpc connects to a musicpd running on a machine via a network.
 The interface was inspired by cplay.
 
-WWW:	http://mpd.wikia.com/wiki/Client:Ncmpc
+WWW: http://www.musicpd.org/clients/ncmpc/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403031824.s23IOr4A054233>