aboutsummaryrefslogtreecommitdiffstats
path: root/games/glest
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-03 05:51:10 +0800
committeredwin <edwin@FreeBSD.org>2006-01-03 05:51:10 +0800
commit662300744c5e07a2b43cd3f34cd75eff7401d13d (patch)
treef209f62650542316b982603c1574e972bf2656ca /games/glest
parent2f5533c7b89010699925dc7e3494cd89bd248f1f (diff)
downloadfreebsd-ports-gnome-662300744c5e07a2b43cd3f34cd75eff7401d13d.tar.gz
freebsd-ports-gnome-662300744c5e07a2b43cd3f34cd75eff7401d13d.tar.zst
freebsd-ports-gnome-662300744c5e07a2b43cd3f34cd75eff7401d13d.zip
broken on 4.x, ignore on 4.x!
Submitted by: "Jeremy Messenger" <mezz7@cox.net>
Diffstat (limited to 'games/glest')
-rw-r--r--games/glest/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/glest/Makefile b/games/glest/Makefile
index 5af2e29e44fd..1fbd6b30a964 100644
--- a/games/glest/Makefile
+++ b/games/glest/Makefile
@@ -41,6 +41,12 @@ GLESTDIRE= ${PREFIX}/lib/${PORTNAME}
SUB_FILES= glest-wrapper
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= "does not build on 4.x"
+.endif
+
post-extract:
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt|sh|ac|sub|ini|m4|jam|guess|rpath)" \
-print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
@@ -84,4 +90,4 @@ post-install:
@${ECHO_MSG} "* Configuration file ${GLESTDIRE}/glest.ini"
@${ECHO_MSG}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>