Date: Tue, 5 Dec 2017 19:19:11 +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: r455609 - in head/games/xdigger: . files Message-ID: <201712051919.vB5JJBhb062794@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Dec 5 19:19:10 2017 New Revision: 455609 URL: https://svnweb.freebsd.org/changeset/ports/455609 Log: - Add LICENSE - Move highscore file to /var/games - Improve highscore handling using @sample - Switch to options helpers Modified: head/games/xdigger/Makefile head/games/xdigger/files/patch-configure.h head/games/xdigger/pkg-plist Modified: head/games/xdigger/Makefile ============================================================================== --- head/games/xdigger/Makefile Tue Dec 5 19:15:49 2017 (r455608) +++ head/games/xdigger/Makefile Tue Dec 5 19:19:10 2017 (r455609) @@ -3,13 +3,16 @@ PORTNAME= xdigger PORTVERSION= 1.0.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SUNSITE/games/arcade MAINTAINER= ports@FreeBSD.org COMMENT= Boulderdash-like KC85 Digger for X Window System +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + USES= imake tar:tgz USE_XORG= x11 xext @@ -21,9 +24,13 @@ post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h post-install: + ${MV} ${STAGEDIR}/var/games/xdigger.hiscore \ + ${STAGEDIR}/var/games/xdigger.hiscore.sample + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ChangeLog README - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include <bsd.port.mk> Modified: head/games/xdigger/files/patch-configure.h ============================================================================== --- head/games/xdigger/files/patch-configure.h Tue Dec 5 19:15:49 2017 (r455608) +++ head/games/xdigger/files/patch-configure.h Tue Dec 5 19:19:10 2017 (r455609) @@ -7,7 +7,7 @@ -#define XDIGGER_LIB_DIR "/usr/lib/X11/xdigger" -#define XDIGGER_HISCORE_DIR "/var/X11R6/scores" +#define XDIGGER_LIB_DIR "%%PREFIX%%/share/xdigger" -+#define XDIGGER_HISCORE_DIR "%%PREFIX%%/share/xdigger" ++#define XDIGGER_HISCORE_DIR "/var/games" #define SOUND_DSP_AUDIO Modified: head/games/xdigger/pkg-plist ============================================================================== --- head/games/xdigger/pkg-plist Tue Dec 5 19:15:49 2017 (r455608) +++ head/games/xdigger/pkg-plist Tue Dec 5 19:19:10 2017 (r455609) @@ -5,5 +5,5 @@ man/man6/xdigger.6.gz %%DATADIR%%/diamond.au %%DATADIR%%/step.au %%DATADIR%%/stone.au -@(,games,644) %%DATADIR%%/xdigger.hiscore %%DATADIR%%/xdigger.level +@sample(,games,664) /var/games/xdigger.hiscore.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712051919.vB5JJBhb062794>