aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-23 19:19:05 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-23 19:19:05 +0800
commitcb1322f1cd07734900617c511b748dff6e10f870 (patch)
treebf4fbc202a35a7bbd1f25f4132c8d3e22bfd2232 /games
parentaa3725774d7fdeeb1f50430e80365bc7673c798f (diff)
downloadfreebsd-ports-gnome-cb1322f1cd07734900617c511b748dff6e10f870.tar.gz
freebsd-ports-gnome-cb1322f1cd07734900617c511b748dff6e10f870.tar.zst
freebsd-ports-gnome-cb1322f1cd07734900617c511b748dff6e10f870.zip
- Fix LICENSE
- Add LICENSE_FILE - Fix BROKEN condition: this still does not build on 10.1 (fine on 10.2+)
Diffstat (limited to 'games')
-rw-r--r--games/vegastrike/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile
index c68b4464a164..efbdef0bf5ef 100644
--- a/games/vegastrike/Makefile
+++ b/games/vegastrike/Makefile
@@ -11,7 +11,8 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Open source 3D space simulator
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${DATADIR}/vegastrike.ico:games/vegastrike-data
LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \
@@ -46,6 +47,12 @@ MESHER_PLIST_FILES= bin/mesher
MESHER_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d
MESHER_CONFIGURE_ENABLE= ogre
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1002000
+BROKEN= does not build on 10.1
+.endif
+
post-patch:
@${REINPLACE_CMD} -E 's,/usr/(local|X11R6),${LOCALBASE},' \
${WRKSRC}/configure
@@ -56,4 +63,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>