diff options
author | minskim <minskim@pkgsrc.org> | 2004-12-27 22:11:31 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-12-27 22:11:31 +0000 |
commit | d5ad2f6e10e79f869d5daefc28b915360fbd5bcc (patch) | |
tree | 37da85e06ff31071d25bf204490ed75b8d44565e | |
parent | 329ba1bdf2fc26b9e491b4d5f7f3ed70ad4b2ad4 (diff) | |
download | pkgsrc-d5ad2f6e10e79f869d5daefc28b915360fbd5bcc.tar.gz |
Use VARBASE instead of hardcoding /var.
-rw-r--r-- | games/xboing/Makefile | 4 | ||||
-rw-r--r-- | games/xboing/distinfo | 4 | ||||
-rw-r--r-- | games/xboing/patches/patch-aa | 18 |
3 files changed, 14 insertions, 12 deletions
diff --git a/games/xboing/Makefile b/games/xboing/Makefile index c9a73c200a0..25ea11b0b35 100644 --- a/games/xboing/Makefile +++ b/games/xboing/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2004/08/04 03:06:55 jschauma Exp $ +# $NetBSD: Makefile,v 1.16 2004/12/27 22:11:31 minskim Exp $ # DISTNAME= xboing2.4 @@ -17,6 +17,8 @@ USE_IMAKE= YES NO_INSTALL_MANPAGES= YES +MAKE_ENV+= VARBASE=${VARBASE:Q} + post-install: ${CHOWN} ${GAMEOWN}:${GAMEGRP} ${X11PREFIX}/bin/xboing ${CHMOD} ${GAMEMODE} ${X11PREFIX}/bin/xboing diff --git a/games/xboing/distinfo b/games/xboing/distinfo index 1dc2744855e..7ae32448007 100644 --- a/games/xboing/distinfo +++ b/games/xboing/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.7 2004/08/04 03:06:55 jschauma Exp $ +$NetBSD: distinfo,v 1.8 2004/12/27 22:11:31 minskim Exp $ SHA1 (xboing2.4.tar.gz) = 57fad37ab99e6a3ff87ff814d0de1baad3b93b91 Size (xboing2.4.tar.gz) = 588811 bytes -SHA1 (patch-aa) = e73052a2a9a3db2cc0cc3ce3e7b06cdfbcab1823 +SHA1 (patch-aa) = a604c5a743abd36627f3720c0f6b551121254535 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 2c7abc2abd6..37d8384873d 100644 --- a/games/xboing/patches/patch-aa +++ b/games/xboing/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.7 2004/08/04 03:06:55 jschauma Exp $ +$NetBSD: patch-aa,v 1.8 2004/12/27 22:11:31 minskim Exp $ ---- Imakefile.orig 1996-11-21 20:28:46.000000000 -0500 -+++ Imakefile 2004-08-01 14:02:34.000000000 -0400 -@@ -24,23 +24,23 @@ +--- Imakefile.orig 1996-11-21 19:28:46.000000000 -0600 ++++ Imakefile +@@ -24,23 +24,23 @@ XCOMM ================================== XCOMM This is the directory where the highscore, level & sound data will be XCOMM placed. Default will be the current directory. @@ -21,7 +21,7 @@ $NetBSD: patch-aa,v 1.7 2004/08/04 03:06:55 jschauma Exp $ SOUNDS_DIR = $(XBOING_DIR)/sounds BACKUP_DIR = $(XBOING_DIR)/../backups - HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr -+ HIGH_SCORE_FILE = /var/games/xboing.scr ++ HIGH_SCORE_FILE = $(VARBASE)/games/xboing.scr AUDIO_AVAILABLE = False AUDIO_SRC = audio/NOaudio.c AUDIO_INCLUDE = @@ -31,7 +31,7 @@ $NetBSD: patch-aa,v 1.7 2004/08/04 03:06:55 jschauma Exp $ XCOMM Uncomment this if you want to use ANY of the AUDIO sound systems #define COMPILE_IN_AUDIO -@@ -60,11 +60,11 @@ +@@ -60,11 +60,11 @@ XCOMM Below are the special defines for AUDIO_LIB = -laudio #endif /* HPArchitecture */ @@ -45,7 +45,7 @@ $NetBSD: patch-aa,v 1.7 2004/08/04 03:06:55 jschauma Exp $ #endif /* linux */ #if defined(svr4) && defined(COMPILE_IN_AUDIO) -@@ -81,7 +81,7 @@ +@@ -81,7 +81,7 @@ XCOMM Below are the special defines for AUDIO_LIB = -laudio #endif /* SGIArchitecture */ @@ -54,7 +54,7 @@ $NetBSD: patch-aa,v 1.7 2004/08/04 03:06:55 jschauma Exp $ AUDIO_AVAILABLE = True AUDIO_SRC = audio/SUNaudio.c -@@ -132,8 +132,8 @@ +@@ -132,8 +132,8 @@ XCOMM hasn't a usleep() function. -DLEVEL_INSTALL_DIR=\"$(LEVEL_INSTALL_DIR)\" \ -DAUDIO_AVAILABLE=\"$(AUDIO_AVAILABLE)\" \ -DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \ @@ -65,7 +65,7 @@ $NetBSD: patch-aa,v 1.7 2004/08/04 03:06:55 jschauma Exp $ XCOMM -DNEED_USLEEP=\"True\" \ XCOMM -DNO_LOCKING=\"True\" -@@ -204,8 +204,8 @@ +@@ -204,8 +204,8 @@ install:: $(PROGRAMS) fi @: @echo "Creating a highscore file " $(HIGH_SCORE_FILE) |