summaryrefslogtreecommitdiff
path: root/games/bzflag/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-12-13 10:32:53 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-12-13 10:32:53 +0000
commit0f3d636f68bde03e73f5caf618c16f4c42c2cc0b (patch)
tree2f24b3fafae0cf3032a739d785547e7889691911 /games/bzflag/Makefile
parentfa2622d05e4448507a6174f21906a07c1cb1c160 (diff)
downloadpkgsrc-0f3d636f68bde03e73f5caf618c16f4c42c2cc0b.tar.gz
Updated to 1.10.0.
The ChangeLog is huge. Selected new features include: * vote based kicking * tunable game parameters like gravity and world size * smarter bots * world weapons * bzadmin text client * autopilot * rabbit game style * single port networking And more... please review Changelog for a detailed list of changes. pkgsrc changes: o USE_X11BASE not needed anymore. I'm sorry, only tested on NetBSD/FreeBSD x86, I need more hardware...
Diffstat (limited to 'games/bzflag/Makefile')
-rw-r--r--games/bzflag/Makefile50
1 files changed, 26 insertions, 24 deletions
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile
index c53f73bfe2e..56f081b0ca3 100644
--- a/games/bzflag/Makefile
+++ b/games/bzflag/Makefile
@@ -1,35 +1,37 @@
-# $NetBSD: Makefile,v 1.5 2003/11/30 22:58:41 jschauma Exp $
+# $NetBSD: Makefile,v 1.6 2003/12/13 10:32:53 xtraeme Exp $
-DISTNAME= bzflag-1.7e6
-PKGNAME= ${DISTNAME:S/e/.5./}
-PKGREVISION= 3
+DISTNAME= bzflag-1.10.20031209
+WRKSRC= ${WRKDIR}/bzflag-1.9.10.20031209
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bzflag/}
-EXTRACT_SUFX= .tgz
MAINTAINER= blymn@baea.com.au
HOMEPAGE= http://www.bzflag.org/
COMMENT= OpenGL tank game
-USE_X11BASE= yes
+GNU_CONFIGURE= yes
+USE_NCURSES= # resize_term()
+USE_X11= yes
USE_BUILDLINK2= yes
USE_GMAKE= yes
-MAKE_ENV+= X11BASE=${X11BASE} INSTALL_PREFIX=${X11PREFIX}
-
-ALL_TARGET= netbsd default
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/bzflag ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/bzfls ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/bzfrelay ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/bzfs ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/bzflag.6s ${PREFIX}/man/man6/bzflag.6
- ${INSTALL_MAN} ${WRKSRC}/man/bzfls.6s ${PREFIX}/man/man6/bzfls.6
- ${INSTALL_MAN} ${WRKSRC}/man/bzfrelay.6s ${PREFIX}/man/man6/bzfrelay.6
- ${INSTALL_MAN} ${WRKSRC}/man/bzfs.6s ${PREFIX}/man/man6/bzfs.6
- ${INSTALL_DATA_DIR} ${PREFIX}/share/bzflag
- ${CP} ${WRKSRC}/data/* ${PREFIX}/share/bzflag
-
-.include "../../graphics/MesaLib/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
+
+.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
+.endif
+
+CONFIGURE_ARGS+= --with-ncurses
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../graphics/Mesa/buildlink2.mk"
+
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"