summaryrefslogtreecommitdiff
path: root/games/bzflag/Makefile
diff options
context:
space:
mode:
authorblymn <blymn@pkgsrc.org>2002-09-24 12:49:10 +0000
committerblymn <blymn@pkgsrc.org>2002-09-24 12:49:10 +0000
commite7f30874f4b520b1c67bc84d1347680969fd0801 (patch)
tree11a5be3c5fc7fd7844908e64a2dfef06e167d263 /games/bzflag/Makefile
parent0e2ecc2fd06989721c28ddf379d45a4b5df5ebb7 (diff)
downloadpkgsrc-e7f30874f4b520b1c67bc84d1347680969fd0801.tar.gz
bzflag is an OpenGL based multiplayer tank game.
Diffstat (limited to 'games/bzflag/Makefile')
-rw-r--r--games/bzflag/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile
new file mode 100644
index 00000000000..a5217923405
--- /dev/null
+++ b/games/bzflag/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/24 12:49:10 blymn Exp $
+
+DISTNAME= bzflag-1.7e6
+PKGNAME= ${DISTNAME:S/e/.5./}
+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
+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_DATA_DIR} ${PREFIX}/share/bzflag
+ ${CP} ${WRKSRC}/data/* ${PREFIX}/share/bzflag
+
+.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"