aboutsummaryrefslogtreecommitdiffstats
path: root/games/monsterz/files/patch-Makefile
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-04-12 04:11:13 +0800
committerthierry <thierry@FreeBSD.org>2014-04-12 04:11:13 +0800
commitd2176caa3796579c76a51f972639de441d8a86f3 (patch)
treec06bd63f423d17141f7323e10d571254c169a33f /games/monsterz/files/patch-Makefile
parent7a7395a3af1ffba6f073c5add08252b4a71e6197 (diff)
downloadfreebsd-ports-graphics-d2176caa3796579c76a51f972639de441d8a86f3.tar.gz
freebsd-ports-graphics-d2176caa3796579c76a51f972639de441d8a86f3.tar.zst
freebsd-ports-graphics-d2176caa3796579c76a51f972639de441d8a86f3.zip
Support staging.
Diffstat (limited to 'games/monsterz/files/patch-Makefile')
-rw-r--r--games/monsterz/files/patch-Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/games/monsterz/files/patch-Makefile b/games/monsterz/files/patch-Makefile
index d85652c63fc..3029d596380 100644
--- a/games/monsterz/files/patch-Makefile
+++ b/games/monsterz/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig 2007-12-17 23:05:00.000000000 +0100
-+++ Makefile 2013-08-19 08:57:30.000000000 +0200
++++ Makefile 2014-04-11 21:13:39.000000000 +0200
@@ -1,8 +1,8 @@
-prefix = /usr/local
@@ -22,12 +22,26 @@
bitmap: $(BITMAP)
-@@ -50,7 +50,7 @@
+@@ -42,17 +42,17 @@
+ install: all
+ mkdir -p $(DESTDIR)$(gamesdir)
+ cp monsterz $(DESTDIR)$(gamesdir)/
+- chown root:games $(DESTDIR)$(gamesdir)/monsterz
+- chmod g+s $(DESTDIR)$(gamesdir)/monsterz
++ #chown root:games $(DESTDIR)$(gamesdir)/monsterz
++ #chmod g+s $(DESTDIR)$(gamesdir)/monsterz
+ mkdir -p $(DESTDIR)$(pkgdatadir)/graphics
+ mkdir -p $(DESTDIR)$(pkgdatadir)/sound
+ cp monsterz.py $(DESTDIR)$(pkgdatadir)/
cp $(BITMAP) $(DESTDIR)$(pkgdatadir)/graphics/
cp $(SOUND) $(MUSIC) $(DESTDIR)$(pkgdatadir)/sound/
mkdir -p $(DESTDIR)$(scoredir)
- test -f $(DESTDIR)$(scorefile) || echo "" > $(DESTDIR)$(scorefile)
+- chown root:games $(DESTDIR)$(scorefile)
+- chmod g+w $(DESTDIR)$(scorefile)
+ test -f $(DESTDIR)$(scorefile) || /usr/bin/touch $(DESTDIR)$(scorefile)
- chown root:games $(DESTDIR)$(scorefile)
- chmod g+w $(DESTDIR)$(scorefile)
++ #chown root:games $(DESTDIR)$(scorefile)
++ #chmod g+w $(DESTDIR)$(scorefile)
+ uninstall:
+ rm -f $(DESTDIR)$(gamesdir)/monsterz