aboutsummaryrefslogtreecommitdiff
path: root/games/glest
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-02 21:51:10 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-02 21:51:10 +0000
commitfa04496b26ad496792aaa99fc0f088e6597b22a6 (patch)
tree8d030c8816904cf30047a7c5749e28b301de12c3 /games/glest
parentfd9b23d7a71b9d1774786f72591c8c9289bde12b (diff)
downloadports-fa04496b26ad496792aaa99fc0f088e6597b22a6.tar.gz
ports-fa04496b26ad496792aaa99fc0f088e6597b22a6.zip
Notes
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>