summaryrefslogtreecommitdiff
path: root/games/xboing
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-09-14 23:38:59 +0000
committergarbled <garbled@pkgsrc.org>1998-09-14 23:38:59 +0000
commit03a98c0b4ed6b1164f3dfd095617917bfff165c3 (patch)
tree9a6ae6f7acb96ca8c150a4a9f62bd3f7d84d7429 /games/xboing
parent33898851da5189c0979ab4516b56e9048ce1e355 (diff)
downloadpkgsrc-03a98c0b4ed6b1164f3dfd095617917bfff165c3.tar.gz
more /var/games scorfile work.. just ignore me
Diffstat (limited to 'games/xboing')
-rw-r--r--games/xboing/patches/patch-aa36
-rw-r--r--games/xboing/pkg/PLIST4
2 files changed, 27 insertions, 13 deletions
diff --git a/games/xboing/patches/patch-aa b/games/xboing/patches/patch-aa
index f4c3c8bd772..fc264c14685 100644
--- a/games/xboing/patches/patch-aa
+++ b/games/xboing/patches/patch-aa
@@ -1,13 +1,15 @@
-$NetBSD: patch-aa,v 1.1 1998/08/18 09:25:17 frueauf Exp $
-
+$NetBSD: patch-aa,v 1.2 1998/09/14 23:38:59 garbled Exp $
--- Imakefile.orig Thu Nov 21 18:28:46 1996
-+++ Imakefile Mon Aug 17 22:46:15 1998
-@@ -26,3 +26,3 @@
++++ Imakefile Mon Sep 14 16:23:07 1998
+@@ -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.
- XBOING_DIR = .
+ XBOING_DIR = $(X11BASE)/share/xboing
-@@ -31,10 +31,10 @@
+ XCOMM These are some defines that must be set. Some may be overwritten in the
+ XCOMM machine arch section.
- XPMLIB = -L/usr/X11/lib -lXpm
- XPMINCLUDE = -I/usr/X11/include/X11
@@ -20,29 +22,43 @@ $NetBSD: patch-aa,v 1.1 1998/08/18 09:25:17 frueauf Exp $
BACKUP_DIR = $(XBOING_DIR)/../backups
- HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr
- AUDIO_AVAILABLE = False
-+ HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr
++ HIGH_SCORE_FILE = /var/games/xboing.scr
+ AUDIO_AVAILABLE = False
AUDIO_SRC = audio/NOaudio.c
-@@ -42,3 +42,3 @@
+ AUDIO_INCLUDE =
AUDIO_LIB =
- CDEBUGFLAGS = -g
+ CDEBUGFLAGS = -O
-@@ -83,3 +83,3 @@
+ XCOMM Uncomment this if you want to use ANY of the AUDIO sound systems
+ #define COMPILE_IN_AUDIO
+@@ -81,7 +81,7 @@
+ AUDIO_LIB = -laudio
+ #endif /* SGIArchitecture */
-#if defined(SparcArchitecture) && defined(COMPILE_IN_AUDIO)
+#if defined(SparcArchitecture) && defined(COMPILE_IN_AUDIO) && !defined(__NetBSD__)
AUDIO_AVAILABLE = True
-@@ -134,4 +134,4 @@
+ AUDIO_SRC = audio/SUNaudio.c
+
+@@ -132,8 +132,8 @@
+ -DLEVEL_INSTALL_DIR=\"$(LEVEL_INSTALL_DIR)\" \
+ -DAUDIO_AVAILABLE=\"$(AUDIO_AVAILABLE)\" \
-DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \
- -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\"
-XCOMM -DUSE_FLOCK=\"True\" \
+ -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\" \
+ -DUSE_FLOCK=\"True\" \
XCOMM -DNEED_USLEEP=\"True\" \
-@@ -207,3 +207,4 @@
+ XCOMM -DNO_LOCKING=\"True\"
+
+@@ -205,7 +205,8 @@
+ @:
+ @echo "Creating a highscore file " $(HIGH_SCORE_FILE)
@touch $(HIGH_SCORE_FILE);
- @chmod a+rw $(HIGH_SCORE_FILE);
+ @chown bin:games $(HIGH_SCORE_FILE);
+ @chmod 0664 $(HIGH_SCORE_FILE);
+ XCOMM I use this for my daily backup of my code.
+
diff --git a/games/xboing/pkg/PLIST b/games/xboing/pkg/PLIST
index 3ca3d7f6159..6ebab3447a6 100644
--- a/games/xboing/pkg/PLIST
+++ b/games/xboing/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 1998/08/18 09:25:19 frueauf Exp $
+@comment $NetBSD: PLIST,v 1.2 1998/09/14 23:38:59 garbled Exp $
bin/xboing
man/man6/xboing.6
share/xboing/problems.doc
@@ -85,7 +85,5 @@ share/xboing/levels/level78.data
share/xboing/levels/level79.data
share/xboing/levels/level80.data
share/xboing/levels/new.data
-share/xboing/.xboing.scr
-@unexec rm -f %D/share/xboing/.xboing.scr
@dirrm share/xboing/levels
@dirrm share/xboing