svn commit: r334106 - head/games/dodgindiamond2
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sun Nov 17 17:10:57 UTC 2013
Author: danilo
Date: Sun Nov 17 17:10:56 2013
New Revision: 334106
URL: http://svnweb.freebsd.org/changeset/ports/334106
Log:
- Remove the indefinite article from COMMENT
- Add stage support
- Remove pkg-install script
Deleted:
head/games/dodgindiamond2/pkg-install
Modified:
head/games/dodgindiamond2/Makefile
head/games/dodgindiamond2/pkg-plist
Modified: head/games/dodgindiamond2/Makefile
==============================================================================
--- head/games/dodgindiamond2/Makefile Sun Nov 17 16:52:37 2013 (r334105)
+++ head/games/dodgindiamond2/Makefile Sun Nov 17 17:10:56 2013 (r334106)
@@ -9,15 +9,12 @@ MASTER_SITES= http://www.usebox.net/jjm
DISTNAME= dd2-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= An old school shoot'em up game
+COMMENT= Old school shoot'em up game
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|COPYING||g' ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
@@ -26,13 +23,7 @@ post-patch:
.endif
post-install:
- ${MKDIR} ${PREFIX}/etc
- ${INSTALL_DATA} ${WRKSRC}/src/data/dd2.cfg ${PREFIX}/etc/dd2.cfg.sample
-.if !exists(${PREFIX}/etc/dd2.cfg)
- ${INSTALL_DATA} ${WRKSRC}/src/data/dd2.cfg ${PREFIX}/etc
-.endif
- ${CHGRP} games ${PREFIX}/bin/dd2
- ${CHMOD} g+s ${PREFIX}/bin/dd2
- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/src/data/dd2.cfg ${STAGEDIR}${PREFIX}/etc/dd2.cfg.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/games/dodgindiamond2/pkg-plist
==============================================================================
--- head/games/dodgindiamond2/pkg-plist Sun Nov 17 16:52:37 2013 (r334105)
+++ head/games/dodgindiamond2/pkg-plist Sun Nov 17 17:10:56 2013 (r334106)
@@ -1,4 +1,10 @@
+ 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
@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
@exec if test ! -f %D/etc/dd2.cfg; then cp -p %D/etc/dd2.cfg.sample %D/etc/dd2.cfg; fi
More information about the svn-ports-head
mailing list