diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-08-04 03:06:55 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-08-04 03:06:55 +0000 |
commit | 4d11093c8c960e60de6f9b4f1446bfe4e1836d0f (patch) | |
tree | 1807dc7a6e27fdda0dead808809715fb340226be /games/xboing | |
parent | 4f6c915de993ac59c11513182937a0faadc1cbbd (diff) | |
download | pkgsrc-4d11093c8c960e60de6f9b4f1446bfe4e1836d0f.tar.gz |
Use INSTALL_GAME_DATA as well as GAMEOWN, GAMEGRP and GAMEMODE instead
of hardcoding the values. Partially addresses PR pkg/26236.
Diffstat (limited to 'games/xboing')
-rw-r--r-- | games/xboing/Makefile | 6 | ||||
-rw-r--r-- | games/xboing/distinfo | 4 | ||||
-rw-r--r-- | games/xboing/patches/patch-aa | 21 |
3 files changed, 15 insertions, 16 deletions
diff --git a/games/xboing/Makefile b/games/xboing/Makefile index 0f2e02b1fda..c9a73c200a0 100644 --- a/games/xboing/Makefile +++ b/games/xboing/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/03/08 01:29:25 snj Exp $ +# $NetBSD: Makefile,v 1.15 2004/08/04 03:06:55 jschauma Exp $ # DISTNAME= xboing2.4 @@ -18,8 +18,8 @@ USE_IMAKE= YES NO_INSTALL_MANPAGES= YES post-install: - ${CHOWN} bin:games ${X11PREFIX}/bin/xboing - ${CHMOD} 2755 ${X11PREFIX}/bin/xboing + ${CHOWN} ${GAMEOWN}:${GAMEGRP} ${X11PREFIX}/bin/xboing + ${CHMOD} ${GAMEMODE} ${X11PREFIX}/bin/xboing ${INSTALL_MAN} ${WRKSRC}/xboing.man ${X11PREFIX}/man/man6/xboing.6 .include "../../graphics/xpm/buildlink3.mk" diff --git a/games/xboing/distinfo b/games/xboing/distinfo index 37d3b6748f2..1dc2744855e 100644 --- a/games/xboing/distinfo +++ b/games/xboing/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2004/02/28 18:36:38 snj Exp $ +$NetBSD: distinfo,v 1.7 2004/08/04 03:06:55 jschauma Exp $ SHA1 (xboing2.4.tar.gz) = 57fad37ab99e6a3ff87ff814d0de1baad3b93b91 Size (xboing2.4.tar.gz) = 588811 bytes -SHA1 (patch-aa) = 7236098cd0f15f38e6d20947ecb5efe8c8e6c1b0 +SHA1 (patch-aa) = e73052a2a9a3db2cc0cc3ce3e7b06cdfbcab1823 SHA1 (patch-ab) = 94b232e173ad7bb39e37d4287669bd0842ef5610 SHA1 (patch-ac) = c8b7d1b323be04c2456768eabf24da43707c4b98 SHA1 (patch-ad) = 444331ce4cbca8e291331bc3d5e698e9f01d8f6e diff --git a/games/xboing/patches/patch-aa b/games/xboing/patches/patch-aa index 0f623a79a4f..2c7abc2abd6 100644 --- a/games/xboing/patches/patch-aa +++ b/games/xboing/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.6 2002/09/23 10:21:19 jlam Exp $ +$NetBSD: patch-aa,v 1.7 2004/08/04 03:06:55 jschauma Exp $ ---- Imakefile.orig Fri Nov 22 02:28:46 1996 -+++ Imakefile +--- Imakefile.orig 1996-11-21 20:28:46.000000000 -0500 ++++ Imakefile 2004-08-01 14:02:34.000000000 -0400 @@ -24,23 +24,23 @@ XCOMM This is the directory where the highscore, level & sound data will be XCOMM placed. Default will be the current directory. @@ -17,14 +17,12 @@ $NetBSD: patch-aa,v 1.6 2002/09/23 10:21:19 jlam Exp $ + XPMLIB = -L$(X11BASE)/lib -lXpm + XPMINCLUDE = -I$(X11BASE)/include/X11 XBOINGINCLUDE = -I./include -- LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels -+ LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels + LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels SOUNDS_DIR = $(XBOING_DIR)/sounds BACKUP_DIR = $(XBOING_DIR)/../backups - HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr -- AUDIO_AVAILABLE = False + HIGH_SCORE_FILE = /var/games/xboing.scr -+ AUDIO_AVAILABLE = False + AUDIO_AVAILABLE = False AUDIO_SRC = audio/NOaudio.c AUDIO_INCLUDE = AUDIO_LIB = @@ -67,13 +65,14 @@ $NetBSD: patch-aa,v 1.6 2002/09/23 10:21:19 jlam Exp $ XCOMM -DNEED_USLEEP=\"True\" \ XCOMM -DNO_LOCKING=\"True\" -@@ -205,7 +205,8 @@ +@@ -204,8 +204,8 @@ + fi @: @echo "Creating a highscore file " $(HIGH_SCORE_FILE) - @touch $(HIGH_SCORE_FILE); +- @touch $(HIGH_SCORE_FILE); - @chmod a+rw $(HIGH_SCORE_FILE); -+ @chown bin:games $(HIGH_SCORE_FILE); -+ @chmod 0664 $(HIGH_SCORE_FILE); ++ @touch xboing.scr ++ @${BSD_INSTALL_GAME_DATA} xboing.scr $(HIGH_SCORE_FILE); XCOMM I use this for my daily backup of my code. |