Date: Sat, 25 May 2013 15:41:31 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319059 - in head/games/monsterz: . files Message-ID: <201305251541.r4PFfVZ9085460@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@pompo.net -# +# Created by: thierry@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 -@exec [ -e %%SCOREDIR%%/monsterz ] || touch %%SCOREDIR%%/monsterz && chmod g+w %%SCOREDIR%%/monsterz +@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305251541.r4PFfVZ9085460>