summaryrefslogtreecommitdiff
path: root/games/bzflag
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-28 06:08:16 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-28 06:08:16 +0000
commit1924a38d6eeedfa277fc73eeedf6e9942cdf0317 (patch)
tree159c9cd4fda40a9953264713e217f5a27d9fdf85 /games/bzflag
parentd066c9bb9a245d24c9889ac7323b93ee18f645f3 (diff)
downloadpkgsrc-1924a38d6eeedfa277fc73eeedf6e9942cdf0317.tar.gz
bl3ify, use subst.mk instead of using sed/mv, set USE_LANGUAGES= c c++.
Diffstat (limited to 'games/bzflag')
-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"