Date: Mon, 3 Mar 2014 13:40:53 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346897 - head/devel/gtgt Message-ID: <201403031340.s23Derw0031626@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Mon Mar 3 13:40:53 2014 New Revision: 346897 URL: http://svnweb.freebsd.org/changeset/ports/346897 QAT: https://qat.redports.org/buildarchive/r346897/ Log: - Support staging - Use shebangfix Modified: head/devel/gtgt/Makefile Modified: head/devel/gtgt/Makefile ============================================================================== --- head/devel/gtgt/Makefile Mon Mar 3 13:22:25 2014 (r346896) +++ head/devel/gtgt/Makefile Mon Mar 3 13:40:53 2014 (r346897) @@ -11,6 +11,7 @@ COMMENT= General (or GNU) template gener RUN_DEPENDS= bash:${PORTSDIR}/shells/bash +USES= shebangfix NO_BUILD= yes PORTDOCS= autoconf.html automake.html \ @@ -19,24 +20,17 @@ PORTDOCS= autoconf.html automake.html \ index.html libtool.html PLIST_FILES= ${SCRIPTS:S/^/bin\//} -SCRIPTS= gcng gptg gscg +SHEBANG_FILES= scripts/gcng scripts/gptg scripts/gscg -NO_STAGE= yes -post-patch: -.for file in ${SCRIPTS} - @${REINPLACE_CMD} -e \ - 's|^#!.*|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/scripts/${file} -.endfor +OPTIONS_DEFINE= DOCS do-install: -.for file in ${SCRIPTS} - ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${PREFIX}/bin +.for f in ${SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403031340.s23Derw0031626>