svn commit: r377857 - head/games/dodgindiamond2
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Jan 25 02:26:17 UTC 2015
Author: amdmi3
Date: Sun Jan 25 02:26:16 2015
New Revision: 377857
URL: https://svnweb.freebsd.org/changeset/ports/377857
QAT: https://qat.redports.org/buildarchive/r377857/
Log:
- Fix identation
- Use @sample for highscore and config handling
- Drop @dirrm* from plist
Modified:
head/games/dodgindiamond2/Makefile
head/games/dodgindiamond2/pkg-plist
Modified: head/games/dodgindiamond2/Makefile
==============================================================================
--- head/games/dodgindiamond2/Makefile Sun Jan 25 02:05:57 2015 (r377856)
+++ head/games/dodgindiamond2/Makefile Sun Jan 25 02:26:16 2015 (r377857)
@@ -1,19 +1,19 @@
# Created by: Jean-Yves Lefort <jylefort at brutele.be>
# $FreeBSD$
-PORTNAME= dodgindiamond2
-PORTVERSION= 0.2.2
-PORTREVISION= 10
-CATEGORIES= games
-MASTER_SITES= http://www.usebox.net/jjm/dd2/releases/
-DISTNAME= dd2-${PORTVERSION}
-
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Old school shoot'em up game
-
-USE_SDL= sdl image mixer
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var/games
+PORTNAME= dodgindiamond2
+PORTVERSION= 0.2.2
+PORTREVISION= 11
+CATEGORIES= games
+MASTER_SITES= http://www.usebox.net/jjm/dd2/releases/
+DISTNAME= dd2-${PORTVERSION}
+
+MAINTAINER= ports at FreeBSD.org
+COMMENT= Old school shoot'em up game
+
+USE_SDL= sdl image mixer
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir=/var/games
OPTIONS_DEFINE= DOCS
@@ -29,5 +29,7 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/src/data/dd2.cfg ${STAGEDIR}${PREFIX}/etc/dd2.cfg.sample
+ ${MKDIR} ${STAGEDIR}/var/games
+ ${TOUCH} ${STAGEDIR}/var/games/dd2-hiscore.sample
.include <bsd.port.mk>
Modified: head/games/dodgindiamond2/pkg-plist
==============================================================================
--- head/games/dodgindiamond2/pkg-plist Sun Jan 25 02:05:57 2015 (r377856)
+++ head/games/dodgindiamond2/pkg-plist Sun Jan 25 02:26:16 2015 (r377857)
@@ -1,13 +1,6 @@
- at group games
- at mode 2755
-bin/dd2
- at mode
- at group
- at exec touch /var/games/dd2-hiscore ; chmod 664 /var/games/dd2-hiscore
- at unexec if [ -f /var/games/dd2-hiscore ] ; then rm /var/games/dd2-hiscore; fi
- at unexec if cmp -s %D/etc/dd2.cfg %D/etc/dd2.cfg.sample; then rm -f %D/etc/dd2.cfg; fi
-etc/dd2.cfg.sample
- at exec if test ! -f %D/etc/dd2.cfg; then cp -p %D/etc/dd2.cfg.sample %D/etc/dd2.cfg; fi
+@(,games,2755) bin/dd2
+ at sample(,games,664) /var/games/dd2-hiscore.sample
+ at sample etc/dd2.cfg.sample
share/dd2/bgm1.xm
share/dd2/bgm2.xm
share/dd2/efx1.wav
@@ -25,5 +18,3 @@ share/dd2/gfx.bmp
%%PORTDOCS%%share/doc/dd2/NEWS
%%PORTDOCS%%share/doc/dd2/README
%%PORTDOCS%%share/doc/dd2/TODO
- at dirrm share/dd2
-%%PORTDOCS%%@dirrm share/doc/dd2
More information about the svn-ports-head
mailing list