pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/xgalaga Honor GAMEOWN, GAMEGRP, GAMEMODE, and GA...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6699b6ac3a7e
branches: trunk
changeset: 495587:6699b6ac3a7e
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Jun 14 17:56:41 2005 +0000
description:
Honor GAMEOWN, GAMEGRP, GAMEMODE, and GAMEDATAMODE.
diffstat:
games/xgalaga/Makefile | 5 ++++-
games/xgalaga/distinfo | 4 ++--
games/xgalaga/patches/patch-aa | 18 +++++++++---------
3 files changed, 15 insertions(+), 12 deletions(-)
diffs (79 lines):
diff -r d89621a64699 -r 6699b6ac3a7e games/xgalaga/Makefile
--- a/games/xgalaga/Makefile Tue Jun 14 17:32:36 2005 +0000
+++ b/games/xgalaga/Makefile Tue Jun 14 17:56:41 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2005/06/14 17:32:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.23 2005/06/14 17:56:41 minskim Exp $
DISTNAME= xgalaga-2.0.34
PKGREVISION= 2
@@ -13,6 +13,9 @@
GNU_CONFIGURE= YES
GNU_CONFIGURE_PREFIX= ${PREFIX}/share/xgalaga
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/bin
+SETGIDGAME= yes
+MAKE_ENV+= GAMEOWN=${GAMEOWN} GAMEGRP=${GAMEGRP} \
+ GAMEMODE=${GAMEMODE} GAMEDATAMODE=${GAMEDATAMODE}
WRKSRC= ${WRKDIR}/${PKGNAME:C,nb${PKGREVISION},,}
diff -r d89621a64699 -r 6699b6ac3a7e games/xgalaga/distinfo
--- a/games/xgalaga/distinfo Tue Jun 14 17:32:36 2005 +0000
+++ b/games/xgalaga/distinfo Tue Jun 14 17:56:41 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.7 2005/06/14 17:32:37 jmmv Exp $
+$NetBSD: distinfo,v 1.8 2005/06/14 17:56:41 minskim Exp $
SHA1 (xgalaga-2.0.34.tar.gz) = 82dcb328af0d9e779c566f4225d7f072b1c17b7d
RMD160 (xgalaga-2.0.34.tar.gz) = bf2cc91820c1cdb8e02bd35347b309cac27b3ba4
Size (xgalaga-2.0.34.tar.gz) = 314189 bytes
-SHA1 (patch-aa) = 5c3bafdb21f2edbabb5efc6341f41d4b5c6318cb
+SHA1 (patch-aa) = 3dede8a392db4f9b36bea84c9402606d14493e33
SHA1 (patch-ab) = 4131368cb7481ee20a753e0b45bd9560b157cf6f
SHA1 (patch-ac) = ca85bafaa637fc03d1c53a527c7804a95c146fe3
SHA1 (patch-ad) = 22b946b261c4d0969e48bf5de1ba0d55c3649bb8
diff -r d89621a64699 -r 6699b6ac3a7e games/xgalaga/patches/patch-aa
--- a/games/xgalaga/patches/patch-aa Tue Jun 14 17:32:36 2005 +0000
+++ b/games/xgalaga/patches/patch-aa Tue Jun 14 17:56:41 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2005/06/14 17:32:37 jmmv Exp $
+$NetBSD: patch-aa,v 1.5 2005/06/14 17:56:41 minskim Exp $
---- Makefile.in.orig Mon May 11 08:52:59 1998
+--- Makefile.in.orig 1998-05-11 01:52:59.000000000 -0500
+++ Makefile.in
-@@ -25,7 +25,7 @@
+@@ -25,7 +25,7 @@ SOUNDDEFS = -DSOUNDSERVER=\"@prefix@/@SO
RM = rm -f
CC = @CC@
CFLAGS = -I. @CFLAGS@ @DEFS@ @X_CFLAGS@ -DXGALAGADIR=\"@prefix@/\" $(SOUNDDEFS)
@@ -11,7 +11,7 @@
LIBS = @LIBS@ libsprite/libsprite.a @X_LIBS@
INSTALL = @INSTALL@
-@@ -40,7 +40,7 @@
+@@ -40,7 +40,7 @@ SUBDIRS = libsprite
all: $(TARGET) $(SOUNDSRV)
$(SOUNDSRV): $(SOUNDOBJS)
@@ -20,15 +20,15 @@
install: all
./mkinstalldirs $(bindir)
-@@ -52,7 +52,10 @@
+@@ -52,7 +52,10 @@ install: all
for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done
touch $(prefix)/scores
- chmod 666 $(prefix)/scores
-+ chown bin:games $(prefix)/scores
-+ chown bin:games $(bindir)/$(TARGET)
-+ chmod 2755 $(bindir)/$(TARGET)
-+ chmod 664 $(prefix)/scores
++ chown ${GAMEOWN}:${GAMEGRP} $(prefix)/scores
++ chown ${GAMEOWN}:${GAMEGRP} $(bindir)/$(TARGET)
++ chmod ${GAMEMODE} $(bindir)/$(TARGET)
++ chmod ${GAMEDATAMODE} $(prefix)/scores
subdirs:
for i in $(SUBDIRS); do cd $$i ; make ; done
Home |
Main Index |
Thread Index |
Old Index