Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 13:37:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373819 - head/games/xinvaders
Message-ID:  <201412031337.sB3Dbovk099266@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec  3 13:37:50 2014
New Revision: 373819
URL: https://svnweb.freebsd.org/changeset/ports/373819
QAT: https://qat.redports.org/buildarchive/r373819/

Log:
  - Switch highscore handling to @sample

Modified:
  head/games/xinvaders/Makefile
  head/games/xinvaders/pkg-plist

Modified: head/games/xinvaders/Makefile
==============================================================================
--- head/games/xinvaders/Makefile	Wed Dec  3 13:37:37 2014	(r373818)
+++ head/games/xinvaders/Makefile	Wed Dec  3 13:37:50 2014	(r373819)
@@ -34,6 +34,7 @@ post-install:
 		${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Vaders)
 	(cd ${WRKSRC} && ${INSTALL_DATA} icon.xpm \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.xpm)
-	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${MKDIR} ${STAGEDIR}/var/games
+	${ECHO_CMD} "0" > ${STAGEDIR}/var/games/xinvaders.scores.sample
 
 .include <bsd.port.mk>

Modified: head/games/xinvaders/pkg-plist
==============================================================================
--- head/games/xinvaders/pkg-plist	Wed Dec  3 13:37:37 2014	(r373818)
+++ head/games/xinvaders/pkg-plist	Wed Dec  3 13:37:50 2014	(r373819)
@@ -1,12 +1,6 @@
-@group games
-@mode 2555
-bin/xinvaders
-@mode
-@group
+@(,games,2555) bin/xinvaders
 lib/X11/app-defaults/Vaders
 man/man6/xinvaders.6.gz
 share/locale/es/LC_MESSAGES/xinvaders.mo
 share/pixmaps/xinvaders.xpm
-@exec if [ ! -e /var/games/xinvaders.scores ]; then echo "0" > /var/games/xinvaders.scores; fi
-@exec chmod 0660 /var/games/xinvaders.scores
-@exec chgrp games /var/games/xinvaders.scores
+@sample(,games,664) /var/games/xinvaders.scores.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412031337.sB3Dbovk099266>