aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-07 22:43:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-07 22:43:58 +0800
commit6015cfb64bcb3d2472c55d3f27efed759397c44c (patch)
tree3664598733e769d0777d6d967b9f06808f7bdb38 /games
parent2ec8887c6dfd4ebaced76cd9957363126aea2d69 (diff)
downloadfreebsd-ports-graphics-6015cfb64bcb3d2472c55d3f27efed759397c44c.tar.gz
freebsd-ports-graphics-6015cfb64bcb3d2472c55d3f27efed759397c44c.tar.zst
freebsd-ports-graphics-6015cfb64bcb3d2472c55d3f27efed759397c44c.zip
- Fix build with boost 1.60
- Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'games')
-rw-r--r--games/traingame/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/traingame/Makefile b/games/traingame/Makefile
index 227afaeefc2..7005840391d 100644
--- a/games/traingame/Makefile
+++ b/games/traingame/Makefile
@@ -37,6 +37,10 @@ ICON_SIZES= 22x22 32x32 48x48 64x64 72x72 96x96 128x128 192x192
SUB_FILES= ${PORTNAME} pkg-message
+post-patch:
+ @${REINPLACE_CMD} -e 's|[io]fstream|std::&|g' \
+ ${WRKSRC}/src/*.cpp ${WRKSRC}/include/*.hpp
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-map.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-map
@@ -55,9 +59,11 @@ do-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+post-install:
@${ECHO_CMD}
@${ECHO_CMD} ===============================================================================
@${ECHO_CMD}