svn commit: r319059 - in head/games/monsterz: . files
Thierry Thomas
thierry at FreeBSD.org
Sat May 25 15:41:32 UTC 2013
Author: thierry
Date: Sat May 25 15:41:31 2013
New Revision: 319059
URL: http://svnweb.freebsd.org/changeset/ports/319059
Log:
Fix plist and installation by packages.
Reported by: pointyhat via miwi
Modified:
head/games/monsterz/Makefile (contents, props changed)
head/games/monsterz/files/patch-Makefile (contents, props changed)
head/games/monsterz/pkg-plist (contents, props changed)
Modified: head/games/monsterz/Makefile
==============================================================================
--- head/games/monsterz/Makefile Sat May 25 14:55:19 2013 (r319058)
+++ head/games/monsterz/Makefile Sat May 25 15:41:31 2013 (r319059)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: monsterz
-# Date created: Fri 29 apr 2005
-# Whom: thierry at pompo.net
-#
+# Created by: thierry at pompo.net
# $FreeBSD$
-#
PORTNAME= monsterz
PORTVERSION= 0.7.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://sam.zoy.org/monsterz/
Modified: head/games/monsterz/files/patch-Makefile
==============================================================================
--- head/games/monsterz/files/patch-Makefile Sat May 25 14:55:19 2013 (r319058)
+++ head/games/monsterz/files/patch-Makefile Sat May 25 15:41:31 2013 (r319059)
@@ -1,5 +1,5 @@
---- Makefile.orig Fri May 12 18:39:38 2006
-+++ Makefile Sat May 13 19:06:56 2006
+--- Makefile.orig 2007-12-17 23:05:00.000000000 +0100
++++ Makefile 2013-05-25 16:56:29.000000000 +0200
@@ -1,5 +1,5 @@
-prefix = /usr/local
@@ -16,3 +16,12 @@
bitmap: $(BITMAP)
+@@ -50,7 +50,7 @@
+ cp $(BITMAP) $(DESTDIR)$(pkgdatadir)/graphics/
+ cp $(SOUND) $(MUSIC) $(DESTDIR)$(pkgdatadir)/sound/
+ mkdir -p $(DESTDIR)$(scoredir)
+- test -f $(DESTDIR)$(scorefile) || echo "" > $(DESTDIR)$(scorefile)
++ test -f $(DESTDIR)$(scorefile) || /usr/bin/touch $(DESTDIR)$(scorefile)
+ chown root:games $(DESTDIR)$(scorefile)
+ chmod g+w $(DESTDIR)$(scorefile)
+
Modified: head/games/monsterz/pkg-plist
==============================================================================
--- head/games/monsterz/pkg-plist Sat May 25 14:55:19 2013 (r319058)
+++ head/games/monsterz/pkg-plist Sat May 25 15:41:31 2013 (r319059)
@@ -26,5 +26,5 @@ share/games/monsterz/sound/whip.wav
@dirrmtry share/games
@dirrmtry games
@exec if [ ! -e %%SCOREDIR%% ] ; then mkdir -p -m 775 %%SCOREDIR%% ; fi
- at exec [ -e %%SCOREDIR%%/monsterz ] || touch %%SCOREDIR%%/monsterz && chmod g+w %%SCOREDIR%%/monsterz
+ at exec [ -e %%SCOREDIR%%/monsterz ] || touch %%SCOREDIR%%/monsterz && chmod g+w %%SCOREDIR%%/monsterz && chown root:games %%SCOREDIR%%/monsterz
@unexec if [ ! -s %%SCOREDIR%%/monsterz ] ; then rm -f %%SCOREDIR%%/monsterz && rm -r %%SCOREDIR%% || true ; fi
More information about the svn-ports-all
mailing list