Bug 187144

Summary: [MAINTAINER] update audio/ncmpc to 0.2.1
Product: Ports & Packages Reporter: henrik
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description henrik 2014-02-28 14:30:00 UTC
This patch updates audio/ncmpc to 0.2.1

Fix: Patch attached with submission follows:
Comment 1 henrik 2014-02-28 14:31:28 UTC
Pardon me. This is of course supposed to go to the ports category.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-02-28 22:04:02 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 3 Pawel Pekala freebsd_committer 2014-03-03 18:06:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 4 dfilter service freebsd_committer 2014-03-03 18:25:00 UTC
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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Pawel Pekala freebsd_committer 2014-03-03 18:25:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!