summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-02-28 06:08:16 +0000
committerxtraeme <xtraeme>2004-02-28 06:08:16 +0000
commitc9623604b2a251cc08a1a6c24288c4b9faf3507a (patch)
tree159c9cd4fda40a9953264713e217f5a27d9fdf85 /games
parent4e3da437fd7375af9c5b37039801fe4c246514c1 (diff)
downloadpkgsrc-c9623604b2a251cc08a1a6c24288c4b9faf3507a.tar.gz
bl3ify, use subst.mk instead of using sed/mv, set USE_LANGUAGES= c c++.
Diffstat (limited to 'games')
-rw-r--r--games/bzflag/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile
index 8a1c94fb608..74854192dcc 100644
--- a/games/bzflag/Makefile
+++ b/games/bzflag/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/01/25 15:27:42 kristerw Exp $
+# $NetBSD: Makefile,v 1.11 2004/02/28 06:08:16 xtraeme Exp $
DISTNAME= bzflag-1.10.20031209
PKGNAME= ${DISTNAME:S/20031209/0/}
@@ -13,27 +13,27 @@ WRKSRC= ${WRKDIR}/bzflag-1.9.10.20031209
GNU_CONFIGURE= yes
USE_NCURSES= # resize_term()
USE_X11= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_PERL5= build
+USE_LANGUAGES= c c++
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
-post-extract:
- ${SED} -e 's|@LINUX_TRUE@||g ; s|@LINUX_FALSE@|#|g' \
- ${WRKSRC}/src/platform/Makefile.in > \
- ${WRKSRC}/src/platform/Makefile.sed
- ${MV} ${WRKSRC}/src/platform/Makefile.sed \
- ${WRKSRC}/src/platform/Makefile.in
+SUBST_CLASSES+= fixme
+SUBST_STAGE.fixme= post-patch
+SUBST_FILES.fixme= src/platform/Makefile.in
+SUBST_SED.fixme= -e "s|@LINUX_TRUE@||g"
+SUBST_SED.fixme+= -e "s|@LINUX_FALSE@|\#|g"
.endif
CONFIGURE_ARGS+= --with-ncurses
-.include "../../devel/ncurses/buildlink2.mk"
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/Mesa/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"