diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-14 17:56:41 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-14 17:56:41 +0000 |
commit | e39e875721c546e8fb34bbe0cb72f3974c219401 (patch) | |
tree | 2db99b5831416ef8c36b3ba376bdfe9375a11657 /games | |
parent | adbb5179ddd1af3086c9b57598dab1dea02a65e1 (diff) | |
download | pkgsrc-e39e875721c546e8fb34bbe0cb72f3974c219401.tar.gz |
Honor GAMEOWN, GAMEGRP, GAMEMODE, and GAMEDATAMODE.
Diffstat (limited to 'games')
-rw-r--r-- | games/xgalaga/Makefile | 5 | ||||
-rw-r--r-- | games/xgalaga/distinfo | 4 | ||||
-rw-r--r-- | games/xgalaga/patches/patch-aa | 18 |
3 files changed, 15 insertions, 12 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile index 8b35b0056d2..c789b5ab590 100644 --- a/games/xgalaga/Makefile +++ b/games/xgalaga/Makefile @@ -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 @@ NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL" 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 --git a/games/xgalaga/distinfo b/games/xgalaga/distinfo index c3962305a4a..69ca2e60b0e 100644 --- a/games/xgalaga/distinfo +++ b/games/xgalaga/distinfo @@ -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 --git a/games/xgalaga/patches/patch-aa b/games/xgalaga/patches/patch-aa index c7276748f59..4bf08cfb6bc 100644 --- a/games/xgalaga/patches/patch-aa +++ b/games/xgalaga/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.4 2005/06/14 17:32:37 jmmv Exp $ 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 @@ $NetBSD: patch-aa,v 1.4 2005/06/14 17:32:37 jmmv Exp $ 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 |