Date: Sun, 17 Nov 2013 17:10:56 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334106 - head/games/dodgindiamond2 Message-ID: <201311171710.rAHHAu6n080952@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 @@ +@group games +@mode 2755 bin/dd2 +@mode +@group +@exec touch /var/games/dd2-hiscore ; chmod 664 /var/games/dd2-hiscore +@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311171710.rAHHAu6n080952>