svn commit: r398983 - head/games/pioneer

Guido Falsi madpilot at FreeBSD.org
Sat Oct 10 09:50:54 UTC 2015


Author: madpilot
Date: Sat Oct 10 09:50:52 2015
New Revision: 398983
URL: https://svnweb.freebsd.org/changeset/ports/398983

Log:
  - Update to 20151004
  - Use option target helpers
  
  PR:		203427
  Submitted by:	lightside at gmx.com (maintainer)

Modified:
  head/games/pioneer/Makefile
  head/games/pioneer/distinfo

Modified: head/games/pioneer/Makefile
==============================================================================
--- head/games/pioneer/Makefile	Sat Oct 10 09:35:51 2015	(r398982)
+++ head/games/pioneer/Makefile	Sat Oct 10 09:50:52 2015	(r398983)
@@ -38,7 +38,7 @@ LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	pioneerspacesim
-GH_TAGNAME=	20150614
+GH_TAGNAME=	20151004
 
 USES=		autoreconf gmake pkgconfig
 USE_GL=		gl
@@ -86,20 +86,20 @@ QUICKSTART_PATH=	\
 post-patch: .SILENT
 	${REINPLACE_CMD} -e '/^OPTIMISE=/d' \
 		${WRKSRC}/configure.ac
-	${REINPLACE_CMD} -e 's/modelviewer/${PORTNAME} -modelviewer/' \
-		${WRKSRC}/Modelviewer.txt
-.if !${PORT_OPTIONS:MMODELCOMPILER}
+	${REINPLACE_CMD} -e 's/std:://g' \
+		${WRKSRC}/src/Orbit.cpp
+
+post-patch-MODELCOMPILER-off: .SILENT
 	${REINPLACE_CMD} -e 's/pioneer modelcompiler/pioneer/' \
 		${WRKSRC}/src/Makefile.am
-.endif
 
 post-install:
-.if ${PORT_OPTIONS:MMODELCOMPILER}
-	@${MV} ${STAGEDIR}${PREFIX}/bin/modelcompiler \
-		${STAGEDIR}${PREFIX}/bin/${PORTNAME}-modelcompiler
-.endif
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
 	${INSTALL_DATA} ${WRKSRC}/application-icon/pngs/pioneer-256x256.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
 
+post-install-MODELCOMPILER-on:
+	${MV} ${STAGEDIR}${PREFIX}/bin/modelcompiler \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}-modelcompiler
+
 .include <bsd.port.mk>

Modified: head/games/pioneer/distinfo
==============================================================================
--- head/games/pioneer/distinfo	Sat Oct 10 09:35:51 2015	(r398982)
+++ head/games/pioneer/distinfo	Sat Oct 10 09:50:52 2015	(r398983)
@@ -1,2 +1,2 @@
-SHA256 (pioneerspacesim-pioneer-0.0.20150614-20150614_GH0.tar.gz) = 47cfeda3268214b800fb12f0180ffa739616dd13dcfca3382e1200ae7d472dc0
-SIZE (pioneerspacesim-pioneer-0.0.20150614-20150614_GH0.tar.gz) = 180503182
+SHA256 (pioneerspacesim-pioneer-0.0.20151004-20151004_GH0.tar.gz) = f22f5a339bdffdad5cf03f744619db3a0c99324c4b3d2ded11c29f1233a72e36
+SIZE (pioneerspacesim-pioneer-0.0.20151004-20151004_GH0.tar.gz) = 186317545


More information about the svn-ports-head mailing list