mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
- Add LICENSE
- Move highscore file to /var/games - Improve highscore handling using @sample - Switch to options helpers
This commit is contained in:
parent
9e8cc175a0
commit
c00bb08f3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455609
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user