summaryrefslogtreecommitdiff
path: root/games/zombies/patches/patch-aa
blob: a19a899ba979cf166de0d6f80f9726bbe359180d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
$NetBSD: patch-aa,v 1.3 2004/08/04 02:57:56 jschauma Exp $

--- Makefile.orig	1999-06-26 10:37:17.000000000 -0400
+++ Makefile	2004-07-31 12:23:34.000000000 -0400
@@ -3,16 +3,16 @@
 
 # ---- FILE LOCATIONS ----
 
-PREFIX		= /usr/local
+#PREFIX		= /usr/local
 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_GAME_DATA}
 
 # SysVish
 #INSTALL_PROG	= install -u ${BINOWN} -g ${BINGRP} -m ${BINMODE}
@@ -77,6 +77,7 @@
 install:	${PROG}
 		${INSTALL_PROG} ${PROG} ${BINDIR}
 		${INSTALL_MAN} ${MAN} ${MANDIR}
+		${INSTALL_SCORE} /dev/null ${PREFIX}/share/games/zombies_score.dist
 		if [ ! -f ${SCOREFILE} ]; then \
 			${INSTALL_SCORE} /dev/null ${SCOREFILE} ; \
 		fi