From owner-svn-ports-all@FreeBSD.ORG Fri Jan 17 14:27:39 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D0BA92DB; Fri, 17 Jan 2014 14:27:39 +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 BC57317B8; Fri, 17 Jan 2014 14:27:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0HERdQ6013771; Fri, 17 Jan 2014 14:27:39 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0HERdbe013769; Fri, 17 Jan 2014 14:27:39 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401171427.s0HERdbe013769@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 17 Jan 2014 14:27:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340045 - head/audio/gmusicbrowser X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 14:27:39 -0000 Author: bapt Date: Fri Jan 17 14:27:39 2014 New Revision: 340045 URL: http://svnweb.freebsd.org/changeset/ports/340045 QAT: https://qat.redports.org/buildarchive/r340045/ Log: Support stage Fix shebang Modified: head/audio/gmusicbrowser/Makefile head/audio/gmusicbrowser/pkg-plist Modified: head/audio/gmusicbrowser/Makefile ============================================================================== --- head/audio/gmusicbrowser/Makefile Fri Jan 17 14:25:54 2014 (r340044) +++ head/audio/gmusicbrowser/Makefile Fri Jan 17 14:27:39 2014 (r340045) @@ -12,63 +12,42 @@ COMMENT= Jukebox for large collections o RUN_DEPENDS= p5-Gtk2>=1.0:${PORTSDIR}/x11-toolkits/p5-Gtk2 NO_BUILD= yes -NO_STAGE= yes -MAN1= gmusicbrowser.1 PORTDOCS= AUTHORS COPYING README NEWS INSTALL layout_doc.html PORTDATA= * +USES= shebangfix +SHEBANG_FILES= *.pl + OPTIONS_DEFINE= GSTREAMER MPLAYER DBUS WEBKIT NLS LIBNOTIFY OPTIONS_DEFAULT=MPLAYER -LIBNOTIFY_DESC= Desktop notification +LIBNOTIFY_DESC= Desktop notification WEBKIT_DESC= Enable embedded web browser -.include - -.if ${PORT_OPTIONS:MGSTREAMER} -RUN_DEPENDS+= p5-GStreamer>=0:${PORTSDIR}/multimedia/p5-GStreamer -.endif - -.if ${PORT_OPTIONS:MMPLAYER} -RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer -.endif - -.if ${PORT_OPTIONS:MDBUS} -RUN_DEPENDS+= p5-Net-DBus>=1.0:${PORTSDIR}/devel/p5-Net-DBus -.endif - -.if ${PORT_OPTIONS:MWEBKIT} -RUN_DEPENDS+= p5-Gtk2-WebKit>=0:${PORTSDIR}/www/p5-Gtk2-WebKit -.endif - -.if ${PORT_OPTIONS:MLIBNOTIFY} -RUN_DEPENDS+= pt-Gtk2-Notify>=0.05:${PORTSDIR}/devel/p5-Gtk2-Notify -.endif +GSTREAMER_RUN_DEPENDS= p5-GStreamer>=0:${PORTSDIR}/multimedia/p5-GStreamer +MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer +DBUS_RUN_DEPENDS= p5-Net-DBus>=1.0:${PORTSDIR}/devel/p5-Net-DBus +WEBKIT_RUN_DEPENDS= p5-Gtk2-WebKit>=0:${PORTSDIR}/www/p5-Gtk2-WebKit +LIBNOTIFY_RUN_DEPENDS= pt-Gtk2-Notify>=0.05:${PORTSDIR}/devel/p5-Gtk2-Notify +OPTIONS_SUB= yes .if defined(NOPORTDATA) IGNORE= port data contain code, undefine NOPORTDATA .endif do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MANPREFIX}/man/man1/${MAN1} - @${MKDIR} ${DESKTOPDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR} - @${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MANPREFIX}/man/man1/${MAN1} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} + @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && (for d in layouts pix plugins; do \ - ${COPYTREE_SHARE} $$d ${DATADIR}; done) && \ - ${INSTALL_DATA} *.pm ${DATADIR} && \ - ${INSTALL_SCRIPT} iceserver.pl ${DATADIR}) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MNLS} + ${COPYTREE_SHARE} $$d ${STAGEDIR}${DATADIR}; done) && \ + ${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \ + ${INSTALL_SCRIPT} iceserver.pl ${STAGEDIR}${DATADIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/locale && \ - ${COPYTREE_SHARE} \* ${PREFIX}/share/locale) - (cd ${WRKSRC} && \ - ${FIND} locale -type f | ${SED} "s|^|share/|g" >> ${TMPPLIST}) -.endif + ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/locale) .include Modified: head/audio/gmusicbrowser/pkg-plist ============================================================================== --- head/audio/gmusicbrowser/pkg-plist Fri Jan 17 14:25:54 2014 (r340044) +++ head/audio/gmusicbrowser/pkg-plist Fri Jan 17 14:27:39 2014 (r340045) @@ -1,2 +1,21 @@ bin/gmusicbrowser share/applications/gmusicbrowser.desktop +man/man1/gmusicbrowser.man.gz +share/locale/cs/LC_MESSAGES/gmusicbrowser.mo +share/locale/de/LC_MESSAGES/gmusicbrowser.mo +share/locale/es/LC_MESSAGES/gmusicbrowser.mo +share/locale/fi/LC_MESSAGES/gmusicbrowser.mo +share/locale/fr/LC_MESSAGES/gmusicbrowser.mo +share/locale/hu/LC_MESSAGES/gmusicbrowser.mo +share/locale/it/LC_MESSAGES/gmusicbrowser.mo +share/locale/ja/LC_MESSAGES/gmusicbrowser.mo +share/locale/ko/LC_MESSAGES/gmusicbrowser.mo +share/locale/nl/LC_MESSAGES/gmusicbrowser.mo +share/locale/pl/LC_MESSAGES/gmusicbrowser.mo +share/locale/pt/LC_MESSAGES/gmusicbrowser.mo +share/locale/pt_BR/LC_MESSAGES/gmusicbrowser.mo +share/locale/ru/LC_MESSAGES/gmusicbrowser.mo +share/locale/sr/LC_MESSAGES/gmusicbrowser.mo +share/locale/sv/LC_MESSAGES/gmusicbrowser.mo +share/locale/zh_CN/LC_MESSAGES/gmusicbrowser.mo +share/locale/zh_TW/LC_MESSAGES/gmusicbrowser.mo