summaryrefslogtreecommitdiff
path: root/games/zombies
diff options
context:
space:
mode:
authorrillig <rillig>2007-06-01 08:58:44 +0000
committerrillig <rillig>2007-06-01 08:58:44 +0000
commit16bd3d9ea3002a4621b8b22795a11f3de54785d0 (patch)
tree719b04e3c3027d65de63fe2c737ef426b9cb0927 /games/zombies
parent8b6ac983503bec1258bda0ab0f856db40ad79d32 (diff)
downloadpkgsrc-16bd3d9ea3002a4621b8b22795a11f3de54785d0.tar.gz
The highscore file is installed relative to VARBASE. PKGREVISION++
FIXME: Currently the files-check check fails for me, because VARBASE is a subdirectory of PREFIX. So how do we generally handle files that are installed in VARBASE?
Diffstat (limited to 'games/zombies')
-rw-r--r--games/zombies/Makefile8
-rw-r--r--games/zombies/distinfo4
-rw-r--r--games/zombies/patches/patch-aa5
3 files changed, 10 insertions, 7 deletions
diff --git a/games/zombies/Makefile b/games/zombies/Makefile
index 835b4eef18f..3f772c07bf5 100644
--- a/games/zombies/Makefile
+++ b/games/zombies/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2007/01/07 09:13:55 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2007/06/01 08:58:44 rillig Exp $
DISTNAME= zombies-1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.thistledown.com.au/software/ \
ftp://melanoma.cs.rmit.edu.au/pub/simonb/
@@ -10,7 +10,9 @@ MAINTAINER= simonb@NetBSD.org
HOMEPAGE= http://www.thistledown.com.au/software/
COMMENT= Simple robots-like game where you destroy the zombies
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 share/games
+INSTALLATION_DIRS_FROM_PLIST= yes
+BUILD_DEFS+= VARBASE
+MAKE_ENV+= VARBASE=${VARBASE}
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/zombies/distinfo b/games/zombies/distinfo
index 96627767fa1..f993ed73626 100644
--- a/games/zombies/distinfo
+++ b/games/zombies/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2005/03/07 15:09:59 adam Exp $
+$NetBSD: distinfo,v 1.8 2007/06/01 08:58:44 rillig Exp $
SHA1 (zombies-1.0.tar.gz) = 5bc4c87211b5aa29edffb7df74ee12c0bbdc408a
RMD160 (zombies-1.0.tar.gz) = 006fcb8876f6712178ae7486b15c6a27de6270ee
Size (zombies-1.0.tar.gz) = 9482 bytes
-SHA1 (patch-aa) = 6bfb7789473d7395f844e66fdfd7f226f0511542
+SHA1 (patch-aa) = 1816cd3c317d312243d76ff42df168922c4a2726
SHA1 (patch-ab) = c17689d0b97e48e8d75c696809a77cf9664bcc4e
diff --git a/games/zombies/patches/patch-aa b/games/zombies/patches/patch-aa
index d38368b5a4a..cfe206ca49d 100644
--- a/games/zombies/patches/patch-aa
+++ b/games/zombies/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2005/03/07 15:09:59 adam Exp $
+$NetBSD: patch-aa,v 1.5 2007/06/01 08:58:44 rillig Exp $
--- Makefile.orig 1999-06-26 14:37:17.000000000 +0000
+++ Makefile
@@ -10,13 +10,14 @@ $NetBSD: patch-aa,v 1.4 2005/03/07 15:09:59 adam Exp $
+#PREFIX = /usr/local
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/man/man6
- SCOREFILE = /var/games/zombies_score
+-SCOREFILE = /var/games/zombies_score
-BINOWN = games
-BINGRP = games
-BINMODE = 2555
-MANOWN = root
-MANGRP = wheel
-MANMODE = 444
++SCOREFILE = ${VARBASE}/games/zombies_score
+#BINOWN = games
+#BINGRP = games
+#BINMODE = 2555