aboutsummaryrefslogtreecommitdiff
path: root/games/xbat/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-29 10:21:18 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-29 10:21:18 +0000
commitb71bdc0e0c53a748031878aaba5bad7125a92eef (patch)
tree26eee8548cc3a701f83548dea21e97ceddf30322 /games/xbat/files
parent0c9fe0f218ecaaf4f45af24169c2ac5db99d83d2 (diff)
downloadports-b71bdc0e0c53a748031878aaba5bad7125a92eef.tar.gz
ports-b71bdc0e0c53a748031878aaba5bad7125a92eef.zip
- Use gcc, as the game segfaults being compiled with clang
- Move highscores to /var/games - Modernize plist PR: 205630 Submitted by: amdmi3 Approved by: turutani@scphys.kyoto-u.ac.jp
Notes
Notes: svn path=/head/; revision=404729
Diffstat (limited to 'games/xbat/files')
-rw-r--r--games/xbat/files/patch-Imakefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/games/xbat/files/patch-Imakefile b/games/xbat/files/patch-Imakefile
index 6165e9fb1e00..6f9c65f0b563 100644
--- a/games/xbat/files/patch-Imakefile
+++ b/games/xbat/files/patch-Imakefile
@@ -1,10 +1,10 @@
---- Imakefile.orig Mon Mar 17 12:32:22 1997
-+++ Imakefile Tue Jul 1 18:37:39 1997
+--- Imakefile.orig 1997-03-17 12:32:22 UTC
++++ Imakefile
@@ -1,24 +1,24 @@
# TOP10 DIR : directory for socre files
#
-SCORE_DIR = /usr/local/games/Xbat/Score
-+SCORE_DIR = ${PREFIX}/lib/X11/Xbat/Score
++SCORE_DIR = /var/games/xbat/Score
# IMAGE DIR : directory for image files
-IMAGE_DIR = /usr/local/games/Xbat/Image
@@ -32,3 +32,15 @@
#######################################################################
+@@ -48,9 +48,8 @@ DependTarget()
+ CleanTarget()
+
+ install::
+- MakeDir($(DESTDIR)$(SCORE_DIR))
+- chmod 777 $(DESTDIR)$(SCORE_DIR);
+- @case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Score/?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR) ; \
++ MakeDir($(DESTDIR)$(SCORE_DIR))
++ @case '${MFLAGS}' in *[i]*) set +e;; esac; cd Score; for i in ?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR)/$$i.sample ; \
+ done;
+
+ MakeDir($(DESTDIR)$(IMAGE_DIR))