aboutsummaryrefslogtreecommitdiffstats
path: root/games/f1lt
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-09-25 14:14:31 +0800
committerjgh <jgh@FreeBSD.org>2013-09-25 14:14:31 +0800
commit01959ff51318ecee9fec3546331a88da59884332 (patch)
tree98c77fd79eb09272fb5424fee9c129e030b97fbe /games/f1lt
parent770adb38e607f997f28ff71f29554d0c1a07b732 (diff)
downloadfreebsd-ports-gnome-01959ff51318ecee9fec3546331a88da59884332.tar.gz
freebsd-ports-gnome-01959ff51318ecee9fec3546331a88da59884332.tar.zst
freebsd-ports-gnome-01959ff51318ecee9fec3546331a88da59884332.zip
- support staging
Diffstat (limited to 'games/f1lt')
-rw-r--r--games/f1lt/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/f1lt/Makefile b/games/f1lt/Makefile
index e72d3002ae25..6ccaab8438f8 100644
--- a/games/f1lt/Makefile
+++ b/games/f1lt/Makefile
@@ -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>