summaryrefslogtreecommitdiff
path: root/games/xboing/patches
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-08-04 03:06:55 +0000
committerjschauma <jschauma>2004-08-04 03:06:55 +0000
commit9ffbc7bd54dfe3886debe89eb0db98a726c55e7e (patch)
tree1807dc7a6e27fdda0dead808809715fb340226be /games/xboing/patches
parentffa9d5b591ac35856e688de55bc44a90e7d5713a (diff)
downloadpkgsrc-9ffbc7bd54dfe3886debe89eb0db98a726c55e7e.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/patches')
-rw-r--r--games/xboing/patches/patch-aa21
1 files changed, 10 insertions, 11 deletions
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.