diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-31 23:45:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-31 23:45:58 +0000 |
commit | 7ef70a9bbd275f02e7f62630212fbc2fff144481 (patch) | |
tree | b5f97e1df3a9364d008f136bf0c839903bdce2c8 /games | |
parent | 2c394a321ca7f74381cd0e73ea40e2a4f917b75f (diff) | |
download | pkgsrc-7ef70a9bbd275f02e7f62630212fbc2fff144481.tar.gz |
SETGIDGAME. Fix highscore creation to work for binary packages.
Bump revision.
Diffstat (limited to 'games')
-rw-r--r-- | games/galaxa/Makefile | 13 | ||||
-rw-r--r-- | games/galaxa/PLIST | 3 | ||||
-rw-r--r-- | games/galaxa/distinfo | 4 | ||||
-rw-r--r-- | games/galaxa/patches/patch-aa | 14 |
4 files changed, 20 insertions, 14 deletions
diff --git a/games/galaxa/Makefile b/games/galaxa/Makefile index 16bc49f4532..715ec4ef057 100644 --- a/games/galaxa/Makefile +++ b/games/galaxa/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.19 2010/01/29 23:05:34 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2010/01/31 23:45:58 joerg Exp $ # DISTNAME= galaxa.0.1 PKGNAME= galaxa-0.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= games x11 MASTER_SITES= ftp://ftp.billsgames.com/unix/x/galaxa/ @@ -16,9 +16,16 @@ PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/galaxa MAKE_FILE= makefile -INSTALLATION_DIRS+= bin share/doc/galaxa +INSTALLATION_DIRS+= bin share/doc/galaxa share/examples/galaxa INSTALL_MAKE_FLAGS+= INSTALLROOT=${DESTDIR}${PREFIX} +SETGIDGAME= yes + +SPECIAL_PERMS+= bin/galaxa ${SETGID_GAMES_PERMS} +CONF_FILES_PERMS+= ${PREFIX}/share/examples/galaxa/galaxa-highs.dat \ + /var/games/galaxa-highs.dat \ + ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE} + pre-install: ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/galaxa diff --git a/games/galaxa/PLIST b/games/galaxa/PLIST index c9d71509ea8..a0e74f667e7 100644 --- a/games/galaxa/PLIST +++ b/games/galaxa/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:56:45 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2010/01/31 23:45:58 joerg Exp $ bin/galaxa share/doc/galaxa/README.txt +share/examples/galaxa/galaxa-highs.dat share/galaxa/sounds/buzz.au share/galaxa/sounds/capture.au share/galaxa/sounds/fireworks.au diff --git a/games/galaxa/distinfo b/games/galaxa/distinfo index 90ce201fd08..a5d86b6c485 100644 --- a/games/galaxa/distinfo +++ b/games/galaxa/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 23:11:58 agc Exp $ +$NetBSD: distinfo,v 1.4 2010/01/31 23:45:58 joerg Exp $ SHA1 (galaxa.0.1.tar.gz) = 63927c23783aa4b52a2a0ba9f533a73f43cb9e0b RMD160 (galaxa.0.1.tar.gz) = fe5e522a2217eeb263ea0e402959da4496d61cd1 Size (galaxa.0.1.tar.gz) = 192068 bytes -SHA1 (patch-aa) = f94baf25ea4bb080252a4eaa2b1124217ddec1e4 +SHA1 (patch-aa) = e610c3708771c21450966c178c2a6142e54ce8b2 SHA1 (patch-ab) = 1e79b7f423bf8d156c4820b10f05885545c3826a SHA1 (patch-ac) = 7a778ec3ea5647c522aa001b5759fa8580b68237 SHA1 (patch-ad) = 34d91852e9958e458f5de5d58ebcadd778eda15c diff --git a/games/galaxa/patches/patch-aa b/games/galaxa/patches/patch-aa index 364e4bfff10..18d0a712679 100644 --- a/games/galaxa/patches/patch-aa +++ b/games/galaxa/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 1998/09/14 06:38:45 garbled Exp $ +$NetBSD: patch-aa,v 1.6 2010/01/31 23:45:58 joerg Exp $ --- makefile.orig Wed Apr 22 22:41:21 1998 +++ makefile Sun Sep 13 23:25:17 1998 @@ -14,16 +14,21 @@ @@ -27,7 +27,7 @@ $NetBSD: patch-aa,v 1.5 1998/09/14 06:38:45 garbled Exp $ OBJECTS=galaxa.o hints.o randnum.o setup.o text.o soundmgr.o -@@ -39,30 +44,26 @@ +@@ -39,30 +44,24 @@ galaxa: $(OBJECTS) @@ -37,15 +37,13 @@ $NetBSD: patch-aa,v 1.5 1998/09/14 06:38:45 garbled Exp $ $(POSTPROCESS) galaxa +install: galaxa -+ install -g games -o bin -m 2755 galaxa $(INSTALLROOT)/bin ++ ${BSD_INSTALL_PROGRAM} galaxa $(INSTALLROOT)/bin + mkdir -p $(DATA) + mkdir -p $(SOUNDS) + mkdir -p $(IMAGES) -+ install -g bin -o bin -m 0644 sounds/* $(SOUNDS) -+ install -g bin -o bin -m 0644 images/* $(IMAGES) -+ if [ ! -e /var/games/galaxa-highs.dat ]; then \ -+ install -g games -o bin -m 0664 galaxa-highs.dat /var/games ; \ -+ fi ++ ${BSD_INSTALL_DATA} sounds/* $(SOUNDS) ++ ${BSD_INSTALL_DATA} images/* $(IMAGES) ++ ${BSD_INSTALL_DATA} galaxa-highs.dat ${INSTALLROOT}/share/examples/galaxa -#-- App object--# +#-- Dependencies --# |