pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/zombies Address PR pkg/25313 with the new GAME v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e2a45673514
branches:  trunk
changeset: 475202:0e2a45673514
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Wed May 12 01:39:00 2004 +0000

description:
Address PR pkg/25313 with the new GAME variables, as well as
remove hardcoded definitions of CC and CFLAGS.

diffstat:

 games/zombies/distinfo         |   4 +-
 games/zombies/patches/patch-aa |  53 ++++++++++++++++++++++++++++++++++++++---
 2 files changed, 51 insertions(+), 6 deletions(-)

diffs (80 lines):

diff -r dd33c2d7ba61 -r 0e2a45673514 games/zombies/distinfo
--- a/games/zombies/distinfo    Wed May 12 01:37:42 2004 +0000
+++ b/games/zombies/distinfo    Wed May 12 01:39:00 2004 +0000
@@ -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 -r dd33c2d7ba61 -r 0e2a45673514 games/zombies/patches/patch-aa
--- a/games/zombies/patches/patch-aa    Wed May 12 01:37:42 2004 +0000
+++ b/games/zombies/patches/patch-aa    Wed May 12 01:39:00 2004 +0000
@@ -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 @@
  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}



Home | Main Index | Thread Index | Old Index