aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-06-13 16:12:46 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-06-13 16:12:46 +0000
commit3aa85674f22d84a3e41d7e6ab99b75cf9dc6eb61 (patch)
tree1c80e6f279924146c45bd3dac79db1290c6f6749 /games
parent63e0c2a4e81a9021504e10905d6801c3ce6649a9 (diff)
downloadports-3aa85674f22d84a3e41d7e6ab99b75cf9dc6eb61.tar.gz
ports-3aa85674f22d84a3e41d7e6ab99b75cf9dc6eb61.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/pioneer/Makefile10
-rw-r--r--games/pioneer/distinfo4
2 files changed, 9 insertions, 5 deletions
diff --git a/games/pioneer/Makefile b/games/pioneer/Makefile
index 3180fe9919a5..038ee97b6838 100644
--- a/games/pioneer/Makefile
+++ b/games/pioneer/Makefile
@@ -38,7 +38,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
USE_GITHUB= yes
GH_ACCOUNT= pioneerspacesim
-GH_TAGNAME= 20160404
+GH_TAGNAME= 20160610
USES= autoreconf gmake pkgconfig
USE_GL= gl
@@ -47,7 +47,7 @@ USE_SDL= image2 sdl2
GNU_CONFIGURE= yes
CONFIGURE_ENV= PIONEER_DATA_DIR="${DATADIR}/data"
CONFIGURE_ARGS= --with-version="${GH_TAGNAME}"
-EXTRACT_AFTER_ARGS= --exclude .gitignore
+EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude .gitignore
PORTDATA= data
PORTDOCS= AUTHORS.txt Changelog.txt Modelviewer.txt Quickstart.txt README.md
@@ -90,6 +90,8 @@ post-patch: .SILENT
${WRKSRC}/configure.ac
${REINPLACE_CMD} -e 's/std:://g' \
${WRKSRC}/src/Orbit.cpp
+ ${REINPLACE_CMD} -e 's/std::to_string/to_string/g' \
+ ${WRKSRC}/src/graphics/opengl/RendererGL.cpp
post-patch-MODELCOMPILER-off: .SILENT
${REINPLACE_CMD} -e 's/pioneer modelcompiler/pioneer/' \
@@ -104,10 +106,12 @@ post-patch-PROFILER-off: .SILENT
${WRKSRC}/configure.ac
post-install:
- (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/application-icon/pngs/pioneer-256x256.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+post-install-DOCS-on:
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
+
post-install-MODELCOMPILER-on:
${MV} ${STAGEDIR}${PREFIX}/bin/modelcompiler \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}-modelcompiler
diff --git a/games/pioneer/distinfo b/games/pioneer/distinfo
index ed842cc00b71..ad2e8bcacd61 100644
--- a/games/pioneer/distinfo
+++ b/games/pioneer/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pioneerspacesim-pioneer-0.0.20160404-20160404_GH0.tar.gz) = 6f32814128396cfdbd85ecf354cf590e34226173631aa485473f764762ad7ceb
-SIZE (pioneerspacesim-pioneer-0.0.20160404-20160404_GH0.tar.gz) = 189053561
+SHA256 (pioneerspacesim-pioneer-0.0.20160610-20160610_GH0.tar.gz) = 3e658c2747242d2e134ece0ffe910088cb1ecc6e6fcb1b88a3bd75646bafa1c4
+SIZE (pioneerspacesim-pioneer-0.0.20160610-20160610_GH0.tar.gz) = 194457994