Date: Wed, 25 Sep 2013 06:14:32 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328256 - head/games/f1lt Message-ID: <201309250614.r8P6EWBL054214@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Wed Sep 25 06:14:31 2013 New Revision: 328256 URL: http://svnweb.freebsd.org/changeset/ports/328256 Log: - support staging Modified: head/games/f1lt/Makefile Modified: head/games/f1lt/Makefile ============================================================================== --- head/games/f1lt/Makefile Wed Sep 25 05:28:35 2013 (r328255) +++ head/games/f1lt/Makefile Wed Sep 25 06:14:31 2013 (r328256) @@ -29,13 +29,12 @@ PLIST_FILES= bin/F1LT \ PLIST_DIRSTRY= share/f1lt PORTDOCS= CHANGELOG -NO_STAGE= yes .include <bsd.port.options.mk> post-patch-script: - @${REINPLACE_CMD} -e 's|PREFIX = /opt/$$$$TARGET|PREFIX = ${PREFIX}|g' \ + @${REINPLACE_CMD} -e 's|PREFIX = /opt/$$$$TARGET|PREFIX = ${STAGEDIR}${PREFIX}|g' \ ${WRKSRC}/F1LT.pro - @${REINPLACE_CMD} -e 's|SHARE=$$$$PREFIX/share|SHARE=$$$$PREFIX/share/${PORTNAME}|g' \ + @${REINPLACE_CMD} -e 's|SHARE=$$$$PREFIX/share|SHARE=${STAGEDIR}${PREFIX}/share/${PORTNAME}|g' \ ${WRKSRC}/F1LT.pro .if ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|999999999998|1000000|g' \ @@ -54,9 +53,9 @@ post-build-script: post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} .endif - @${LN} -s ${PREFIX}/bin/F1LT ${PREFIX}/bin/${PORTNAME} + ${LN} -sf F1LT ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309250614.r8P6EWBL054214>