From owner-svn-ports-all@FreeBSD.ORG Wed Nov 13 11:27:20 2013 Return-Path: Delivered-To: svn-ports-all@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 614CD8B5; Wed, 13 Nov 2013 11:27:20 +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 3896E28D8; Wed, 13 Nov 2013 11:27:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rADBRKVN098232; Wed, 13 Nov 2013 11:27:20 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rADBRJYW098229; Wed, 13 Nov 2013 11:27:19 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201311131127.rADBRJYW098229@svn.freebsd.org> From: Emanuel Haupt Date: Wed, 13 Nov 2013 11:27:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333672 - head/audio/gbsplay 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.16 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: Wed, 13 Nov 2013 11:27:20 -0000 Author: ehaupt Date: Wed Nov 13 11:27:19 2013 New Revision: 333672 URL: http://svnweb.freebsd.org/changeset/ports/333672 Log: Support stage. Modified: head/audio/gbsplay/Makefile head/audio/gbsplay/pkg-plist Modified: head/audio/gbsplay/Makefile ============================================================================== --- head/audio/gbsplay/Makefile Wed Nov 13 11:24:03 2013 (r333671) +++ head/audio/gbsplay/Makefile Wed Nov 13 11:27:19 2013 (r333672) @@ -13,7 +13,6 @@ COMMENT?= Emulates the sound hardware of HAS_CONFIGURE= yes USES= gettext gmake -NO_STAGE= yes USE_CSTD= gnu89 CONFIGURE_ARGS+= --prefix=${PREFIX} @@ -67,27 +66,33 @@ gbsplay-post-patch: do-install: .for f in ${PORTNAME} gbsinfo - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor + .for f in ${MAN1} ${MAN5} - ${INSTALL_MAN} ${WRKSRC}/${f} ${MAN${f:E}PREFIX}/man/man${f:E} + ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MAN${f:E}PREFIX}/man/man${f:E} .endfor - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/nightmode.gbs ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample ${PREFIX}/etc/gbsplayrc.default -.if !exists(${PREFIX}/etc/gbsplayrc) - ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample ${PREFIX}/etc/gbsplayrc + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/nightmode.gbs \ + ${STAGEDIR}${EXAMPLESDIR} + + ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ + ${STAGEDIR}${PREFIX}/etc/gbsplayrc.default +.if !exists(${STAGEDIR}${PREFIX}/etc/gbsplayrc) + ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ + ${STAGEDIR}${PREFIX}/etc/gbsplayrc .endif .for l in de en - ${INSTALL_DATA} ${WRKSRC}/po/${l}.mo ${PREFIX}/share/locale/${l}/LC_MESSAGES/gbsplay.mo + ${INSTALL_DATA} ${WRKSRC}/po/${l}.mo \ + ${STAGEDIR}${PREFIX}/share/locale/${l}/LC_MESSAGES/gbsplay.mo .endfor .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif Modified: head/audio/gbsplay/pkg-plist ============================================================================== --- head/audio/gbsplay/pkg-plist Wed Nov 13 11:24:03 2013 (r333671) +++ head/audio/gbsplay/pkg-plist Wed Nov 13 11:27:19 2013 (r333672) @@ -5,5 +5,8 @@ etc/gbsplayrc.default @exec [ -f %B/gbsplayrc ] || cp %B/%f %B/gbsplayrc share/locale/de/LC_MESSAGES/gbsplay.mo share/locale/en/LC_MESSAGES/gbsplay.mo +man/man1/gbsinfo.1.gz +man/man1/gbsplay.1.gz +man/man5/gbsplayrc.5.gz %%EXAMPLESDIR%%/nightmode.gbs @dirrm %%EXAMPLESDIR%%