summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-05-12 01:39:00 +0000
committerjschauma <jschauma@pkgsrc.org>2004-05-12 01:39:00 +0000
commit8c2b3742d45518825c831f565b37baf82f33d29e (patch)
treeb050fb564f3003e6cb8515a06e5aba9c60a2d55f /games
parent0d16e096f81649f1c1ba5e3b41508939d10823e7 (diff)
downloadpkgsrc-8c2b3742d45518825c831f565b37baf82f33d29e.tar.gz
Address PR pkg/25313 with the new GAME variables, as well as
remove hardcoded definitions of CC and CFLAGS.
Diffstat (limited to 'games')
-rw-r--r--games/zombies/distinfo4
-rw-r--r--games/zombies/patches/patch-aa53
2 files changed, 51 insertions, 6 deletions
diff --git a/games/zombies/distinfo b/games/zombies/distinfo
index b5d2e96e432..d99d9e0beed 100644
--- a/games/zombies/distinfo
+++ b/games/zombies/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/04/21 02:08:43 wiz Exp $
+$NetBSD: distinfo,v 1.4 2004/05/12 01:39:00 jschauma Exp $
SHA1 (zombies-1.0.tar.gz) = 5bc4c87211b5aa29edffb7df74ee12c0bbdc408a
Size (zombies-1.0.tar.gz) = 9482 bytes
-SHA1 (patch-aa) = 64fc0de367cf31fe93970932b94d7c26ce3a73d0
+SHA1 (patch-aa) = 81c556808201263cd20c2ed7b5464e64ba11dbd7
SHA1 (patch-ab) = c17689d0b97e48e8d75c696809a77cf9664bcc4e
diff --git a/games/zombies/patches/patch-aa b/games/zombies/patches/patch-aa
index e930a8485f4..40e592269be 100644
--- a/games/zombies/patches/patch-aa
+++ b/games/zombies/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/06/26 14:50:33 simonb Exp $
+$NetBSD: patch-aa,v 1.2 2004/05/12 01:39:00 jschauma Exp $
---- Makefile.orig Sun Jun 27 00:37:17 1999
-+++ Makefile Sun Jun 27 00:43:54 1999
-@@ -3,7 +3,7 @@
+--- Makefile.orig 1999-06-26 10:37:17.000000000 -0400
++++ Makefile 2004-05-11 21:31:49.000000000 -0400
+@@ -3,16 +3,16 @@
# ---- FILE LOCATIONS ----
@@ -11,6 +11,51 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/06/26 14:50:33 simonb Exp $
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/man/man6
SCOREFILE = /var/games/zombies_score
+-BINOWN = games
+-BINGRP = games
+-BINMODE = 2555
+-MANOWN = root
+-MANGRP = wheel
+-MANMODE = 444
++#BINOWN = games
++#BINGRP = games
++#BINMODE = 2555
++#MANOWN = root
++#MANGRP = wheel
++#MANMODE = 444
+ SCOREMODE = 664
+
+ # ---- COMPILER OPTIONS ----
+@@ -23,11 +23,11 @@
+ #CC = cc
+
+ # For gcc with all sorts of checks
+-FLAGS = -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes \
+- -Wpointer-arith -Wreturn-type -Wcomment -Waggregate-return \
+- -Wunused -Wbad-function-cast -Wcast-align -Wcast-qual \
+- -Wchar-subscripts -Winline -Wmissing-declarations \
+- -Wpointer-arith -Wshadow
++#FLAGS = -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes \
++# -Wpointer-arith -Wreturn-type -Wcomment -Waggregate-return \
++# -Wunused -Wbad-function-cast -Wcast-align -Wcast-qual \
++# -Wchar-subscripts -Winline -Wmissing-declarations \
++# -Wpointer-arith -Wshadow
+ # For almost everything else
+ #FLAGS = -O2
+
+@@ -49,9 +49,9 @@
+ # ---- INSTALLATION PROGRAMS ----
+
+ # BSDish
+-INSTALL_PROG = install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+-INSTALL_MAN = install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
+-INSTALL_SCORE = install -c -o ${BINOWN} -g ${BINGRP} -m ${SCOREMODE}
++INSTALL_PROG = ${BSD_INSTALL_GAME}
++INSTALL_MAN = ${BSD_INSTALL_MAN}
++INSTALL_SCORE = ${BSD_INSTALL_DATA} -m ${SCOREMODE}
+
+ # SysVish
+ #INSTALL_PROG = install -u ${BINOWN} -g ${BINGRP} -m ${BINMODE}
@@ -77,6 +77,7 @@
install: ${PROG}
${INSTALL_PROG} ${PROG} ${BINDIR}