aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/macopix/Makefile8
-rw-r--r--games/magiccube4d/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/games/macopix/Makefile b/games/macopix/Makefile
index 251b087ace76..08062147c272 100644
--- a/games/macopix/Makefile
+++ b/games/macopix/Makefile
@@ -53,6 +53,12 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
MAN1= macopix.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/macopix
# install mascot file
@@ -107,4 +113,4 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/NKR.README.jp ${PREFIX}/share/doc/macopix
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/magiccube4d/Makefile b/games/magiccube4d/Makefile
index ed77bbf85f73..0322e5b7f443 100644
--- a/games/magiccube4d/Makefile
+++ b/games/magiccube4d/Makefile
@@ -22,6 +22,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/}
DOCS= ChangeLog Intro.txt MagicCube4D-unix.txt \
ideas.txt readme-unix.txt
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/magiccube4d ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@@ -31,4 +37,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>