From owner-svn-ports-head@FreeBSD.ORG Mon Mar 3 18:24:54 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D5688EF; Mon, 3 Mar 2014 18:24:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE0349E9; Mon, 3 Mar 2014 18:24:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s23IOrL9054236; Mon, 3 Mar 2014 18:24:53 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s23IOr4A054233; Mon, 3 Mar 2014 18:24:53 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201403031824.s23IOr4A054233@svn.freebsd.org> From: Pawel Pekala Date: Mon, 3 Mar 2014 18:24:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346948 - head/audio/ncmpc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 18:24:54 -0000 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 -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 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/