pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/xboing Use VARBASE instead of hardcoding /var.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7a7d0f938ea0
branches: trunk
changeset: 486392:7a7d0f938ea0
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Dec 27 22:11:31 2004 +0000
description:
Use VARBASE instead of hardcoding /var.
diffstat:
games/xboing/Makefile | 4 +++-
games/xboing/distinfo | 4 ++--
games/xboing/patches/patch-aa | 18 +++++++++---------
3 files changed, 14 insertions(+), 12 deletions(-)
diffs (93 lines):
diff -r 47bc8f40800b -r 7a7d0f938ea0 games/xboing/Makefile
--- a/games/xboing/Makefile Mon Dec 27 22:02:59 2004 +0000
+++ b/games/xboing/Makefile Mon Dec 27 22:11:31 2004 +0000
@@ -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 @@
NO_INSTALL_MANPAGES= YES
+MAKE_ENV+= VARBASE=${VARBASE:Q}
+
post-install:
${CHOWN} ${GAMEOWN}:${GAMEGRP} ${X11PREFIX}/bin/xboing
${CHMOD} ${GAMEMODE} ${X11PREFIX}/bin/xboing
diff -r 47bc8f40800b -r 7a7d0f938ea0 games/xboing/distinfo
--- a/games/xboing/distinfo Mon Dec 27 22:02:59 2004 +0000
+++ b/games/xboing/distinfo Mon Dec 27 22:11:31 2004 +0000
@@ -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 -r 47bc8f40800b -r 7a7d0f938ea0 games/xboing/patches/patch-aa
--- a/games/xboing/patches/patch-aa Mon Dec 27 22:02:59 2004 +0000
+++ b/games/xboing/patches/patch-aa Mon Dec 27 22:11:31 2004 +0000
@@ -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 @@
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 @@
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 @@
#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 @@
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 @@
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)
Home |
Main Index |
Thread Index |
Old Index