summaryrefslogtreecommitdiff
path: root/games/tanked
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-21 12:11:03 +0000
committerwiz <wiz>2002-10-21 12:11:03 +0000
commit06e41850dc838bd5733e4c578bc8d2404cc39bf8 (patch)
tree883a81d6e0c303f53a4a6acc877a3f91145221de /games/tanked
parente04ff5520fd7900914251c6b8fa65363a09cb250 (diff)
downloadpkgsrc-06e41850dc838bd5733e4c578bc8d2404cc39bf8.tar.gz
Convert to buildlink2. Remove MASTER_SITES and HOMEPAGE, they are not
valid any longer. Make it work with xpkgwedge.
Diffstat (limited to 'games/tanked')
-rw-r--r--games/tanked/Makefile9
-rw-r--r--games/tanked/distinfo6
-rw-r--r--games/tanked/patches/patch-aa18
-rw-r--r--games/tanked/patches/patch-ac14
4 files changed, 26 insertions, 21 deletions
diff --git a/games/tanked/Makefile b/games/tanked/Makefile
index a82d9da1645..dd2b015f59a 100644
--- a/games/tanked/Makefile
+++ b/games/tanked/Makefile
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.6 2001/02/16 15:10:59 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2002/10/21 12:11:03 wiz Exp $
#
DISTNAME= tanked-0.90
CATEGORIES= games x11
-MASTER_SITES= http://ogresoft.dyn.ml.org/
+MASTER_SITES= # empty
MAINTAINER= root@garbled.net
-HOMEPAGE= http://ogresoft.dyn.ml.org/tanked.html
+#HOMEPAGE= http://ogresoft.dyn.ml.org/tanked.html
COMMENT= Multiplayer internet tank game for X11
USE_X11BASE= YES
-USE_XPM= YES
+USE_BUILDLINK2= YES
post-patch:
@${TOUCH} ${WRKSRC}/client/tanked.man
@@ -18,4 +18,5 @@ post-patch:
@${SED} -e 's@XXX@${X11PREFIX}/share/tanked/@' \
< ${WRKSRC}/server/maps.list.bak > ${WRKSRC}/server/maps.list
+.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/tanked/distinfo b/games/tanked/distinfo
index f9622c943c4..7eb966f3a63 100644
--- a/games/tanked/distinfo
+++ b/games/tanked/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 02:08:36 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/10/21 12:11:04 wiz Exp $
SHA1 (tanked-0.90.tar.gz) = 781e4d23e5b59bfff53e921e9b20d94a15609f23
Size (tanked-0.90.tar.gz) = 151105 bytes
-SHA1 (patch-aa) = 796d60ca93919ed0f9c9698b0d4cf7387926ab7d
+SHA1 (patch-aa) = 798cb65c99cdd1414b45b54a44632c6b415bacaa
SHA1 (patch-ab) = f25cd592b5571c4e35d9e3160a1f5bcfacee1ad7
-SHA1 (patch-ac) = fe5b30d84b37299db0ad49527c3c71fd86878b0e
+SHA1 (patch-ac) = 097e1252deabeb2a6a9b9981bfb51b9c6c409672
SHA1 (patch-ad) = 09931ca419399dbcbcea690381f7b68916fb0efa
SHA1 (patch-ae) = 8244fbccb0e9109ec246e32f97844400dd9167a5
SHA1 (patch-af) = c6bd8d7766639f0ef4e8ed6818cf736928410f17
diff --git a/games/tanked/patches/patch-aa b/games/tanked/patches/patch-aa
index 887b8b232e7..dee610896b8 100644
--- a/games/tanked/patches/patch-aa
+++ b/games/tanked/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:43 agc Exp $
+$NetBSD: patch-aa,v 1.3 2002/10/21 12:11:05 wiz Exp $
--- /dev/null Fri Jul 31 02:54:09 1998
+++ Makefile Fri Jul 31 04:12:51 1998
@@ -7,11 +7,11 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 10:40:43 agc Exp $
+ cd server && make
+ cd client && xmkmf -a && make
+install:
-+ /usr/bin/install -o bin -g games -m 0755 client/tanked $(X11BASE)/bin
-+ /usr/bin/install -o bin -g games -m 2755 server/tankedserv $(X11BASE)/bin
-+ /usr/bin/install -d -o bin -g games -m 0775 $(X11BASE)/share/tanked/logs
-+ /usr/bin/install -d -o bin -g games -m 0775 $(X11BASE)/share/tanked/maps
-+ /usr/bin/install -o bin -g bin -m 0644 server/maps/* $(X11BASE)/share/tanked/maps
-+ /usr/bin/install -o bin -g bin -m 0644 server/maps.list $(X11BASE)/share/tanked
-+ /usr/bin/install -o bin -g bin -m 0644 server/.motd $(X11BASE)/share/tanked/motd
-+ /usr/bin/install -o bin -g bin -m 0644 server/.players $(X11BASE)/share/tanked/players
++ /usr/bin/install -o bin -g games -m 0755 client/tanked $(X11PREFIX)/bin
++ /usr/bin/install -o bin -g games -m 2755 server/tankedserv $(X11PREFIX)/bin
++ /usr/bin/install -d -o bin -g games -m 0775 $(X11PREFIX)/share/tanked/logs
++ /usr/bin/install -d -o bin -g games -m 0775 $(X11PREFIX)/share/tanked/maps
++ /usr/bin/install -o bin -g bin -m 0644 server/maps/* $(X11PREFIX)/share/tanked/maps
++ /usr/bin/install -o bin -g bin -m 0644 server/maps.list $(X11PREFIX)/share/tanked
++ /usr/bin/install -o bin -g bin -m 0644 server/.motd $(X11PREFIX)/share/tanked/motd
++ /usr/bin/install -o bin -g bin -m 0644 server/.players $(X11PREFIX)/share/tanked/players
diff --git a/games/tanked/patches/patch-ac b/games/tanked/patches/patch-ac
index 145d07d6d41..5354f77cc85 100644
--- a/games/tanked/patches/patch-ac
+++ b/games/tanked/patches/patch-ac
@@ -1,11 +1,15 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 10:40:43 agc Exp $
+$NetBSD: patch-ac,v 1.3 2002/10/21 12:11:05 wiz Exp $
---- server/Makefile.orig Fri Jul 31 03:38:53 1998
-+++ server/Makefile Fri Jul 31 03:39:33 1998
-@@ -7,3 +7,5 @@
+--- server/Makefile.orig Sun Apr 12 04:18:42 1998
++++ server/Makefile
+@@ -5,7 +5,9 @@ TARGET=tankedserv
+ S_OBJS = main.o socket.o data.o map.o newplayer.o tick.o sintab.o log.o motd.o life.o commands.o database.o
+ S_SRC = `echo $(S_OBJS) | sed -e 's/\.o/.c/g'`
-EXTRAFLAGS = -g -Wall -DLIFE -DLIFEFREQ=300
+EXTRAFLAGS = -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"$(TANKDIR)\"
+
-+TANKDIR= $(X11BASE)/share/tanked
++TANKDIR= $(X11PREFIX)/share/tanked
+
+ INCLUDES = -I../common