diff options
Diffstat (limited to 'games/xsoldier/patches/patch-aa')
-rw-r--r-- | games/xsoldier/patches/patch-aa | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/xsoldier/patches/patch-aa b/games/xsoldier/patches/patch-aa index dbe5e32b367..18830af7a57 100644 --- a/games/xsoldier/patches/patch-aa +++ b/games/xsoldier/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.3 1998/09/15 00:05:41 garbled Exp $ +$NetBSD: patch-aa,v 1.4 2001/09/14 03:48:07 jlam Exp $ --- Imakefile.orig Fri Feb 28 08:48:57 1997 +++ Imakefile Mon Sep 14 16:52:46 1998 @@ -11,12 +11,12 @@ @@ -8,9 +8,9 @@ $NetBSD: patch-aa,v 1.3 1998/09/15 00:05:41 garbled Exp $ -PIXMAPDIR = /usr/local/games/lib/xsoldier -SCOREDIR = /usr/local/games/lib/xsoldier -BINDIR = /usr/local/games -+PIXMAPDIR = $(X11BASE)/share/xsoldier ++PIXMAPDIR = $(PREFIX)/share/xsoldier +SCOREDIR = /var/games/ -+BINDIR = $(X11BASE)/bin ++BINDIR = $(PREFIX)/bin /* スコアファイル名.SCOREDIR 以下に置かれます. */ -SCOREFILE = .scorefile @@ -25,8 +25,8 @@ $NetBSD: patch-aa,v 1.3 1998/09/15 00:05:41 garbled Exp $ - @if [ -d $(SCOREDIR) ]; then chmod 755 $(SCOREDIR); \ - else $(MKDIRHIER) $(SCOREDIR); chmod 755 $(SCOREDIR); fi - $(INSTALL) -c -m 600 scorefile.txt $(SCOREDIR)/$(SCOREFILE) -+ @if [ ! -e $(SCOREDIR)/$(SCOREFILE) ]; then \ -+ $(INSTALL) -c -g games -o bin -m 664 scorefile.txt $(SCOREDIR)/$(SCOREFILE) ; \ ++ @if [ ! -e $(PIXMAPDIR)/$(SCOREFILE).score.dist ]; then \ ++ $(BSD_INSTALL_DATA) scorefile.txt $(PIXMAPDIR)/$(SCOREFILE).score.dist ; \ + fi @echo "install score . done" @@ -36,5 +36,5 @@ $NetBSD: patch-aa,v 1.3 1998/09/15 00:05:41 garbled Exp $ @if [ -d $(BINDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(BINDIR)); fi - $(INSTALL) -c -m 4755 $(PROGRAM) $(BINDIR)/$(PROGRAM) -+ $(INSTALL) -c -o bin -g games -m 2755 $(PROGRAM) $(BINDIR)/$(PROGRAM) ++ $(INSTALL) -c -o $(BINOWN) -g games -m 2755 $(PROGRAM) $(BINDIR)/$(PROGRAM) @echo "install bin . done" |