aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-23 19:29:58 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-23 19:29:58 +0000
commit25a105eeedb0ea4d81483bde3499155ebdc93c58 (patch)
treed84dda936ec575c471b510563620221fb6b5a876 /games/bsdgames
parent8c9b5cff7c5eaad5ce70e18761d7d15fe6693ac2 (diff)
downloadports-25a105eeedb0ea4d81483bde3499155ebdc93c58.tar.gz
ports-25a105eeedb0ea4d81483bde3499155ebdc93c58.zip
Notes
Diffstat (limited to 'games/bsdgames')
-rw-r--r--games/bsdgames/Makefile13
-rw-r--r--games/bsdgames/pkg-plist12
2 files changed, 10 insertions, 15 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile
index 9943a2b76548..fa9799de2a72 100644
--- a/games/bsdgames/Makefile
+++ b/games/bsdgames/Makefile
@@ -3,20 +3,19 @@
PORTNAME= bsdgames
PORTVERSION= 3.8.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= games
# Fetched from http://gitweb.dragonflybsd.org/dragonfly.git/tree/v${PORTVERSION}:/games
-# Content is stable, but file timestamps differ. Bad gitweb, no cookie!
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= adamw
MAINTAINER= adamw@FreeBSD.org
COMMENT= Traditional BSD games taken from DragonFly BSD
-CONFLICTS= hangman-*
+CONFLICTS= hangman-[0-9]*
USES= tar:xz
-#WRKSRC= ${WRKDIR}/dragonfly
MAKE_ENV+= NO_WERROR=1
# contain /usr/share/games
@@ -64,19 +63,17 @@ post-patch:
${REINPLACE_CMD} -e 's/HIDEGAME/SGIDGAME/' \
${WRKSRC}/$${f}/Makefile; \
done
- @${FIND} ${WRKSRC} -type f | ${XARGS} \
- ${REINPLACE_CMD} -e 's|/var/games/|${PREFIX}&|g'
pre-install:
.for d in atc larn quiz.db
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/$d
.endfor
.for d in atc battlestar hackdir/save larn phantasia
- @${MKDIR} ${STAGEDIR}${PREFIX}/var/games/$d
+ @${MKDIR} ${STAGEDIR}/var/games/$d
.endfor
post-install:
- @${TOUCH} ${STAGEDIR}${PREFIX}/var/games/atc_score
- @${FIND} ${STAGEDIR}${PREFIX}/var/games -type f -exec ${MV} {} {}.sample \;
+ @${TOUCH} ${STAGEDIR}/var/games/atc_score
+ @${FIND} ${STAGEDIR}/var/games -type f -exec ${MV} {} {}.sample \;
.include <bsd.port.mk>
diff --git a/games/bsdgames/pkg-plist b/games/bsdgames/pkg-plist
index b2d1a608d16d..44e6c8f5eb24 100644
--- a/games/bsdgames/pkg-plist
+++ b/games/bsdgames/pkg-plist
@@ -106,8 +106,13 @@ share/games/quiz.db/ucc
share/games/cribbage.instr
share/games/fish.instr
share/games/wump.info
+@dirrm share/games/atc
+@dirrm share/games/larn
+@dirrm share/games/quiz.db
+@dirrm share/games
@group games
@mode 664
+@cwd /
@sample var/games/atc_score.sample
@sample var/games/battlestar.log.sample
@sample var/games/cfscores.sample
@@ -143,10 +148,3 @@ share/games/wump.info
@dirrmtry var/games/battlestar
@dirrmtry var/games/atc
@dirrmtry var/games
-@mode
-@group
-@dirrmtry var
-@dirrm share/games/atc
-@dirrm share/games/larn
-@dirrm share/games/quiz.db
-@dirrm share/games