aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPDATING7
-rw-r--r--games/bsdgames/Makefile13
-rw-r--r--games/bsdgames/pkg-plist12
3 files changed, 13 insertions, 19 deletions
diff --git a/UPDATING b/UPDATING
index e1f9d533d18c..15a87174f774 100644
--- a/UPDATING
+++ b/UPDATING
@@ -42,10 +42,9 @@ you update your ports collection, before attempting any port upgrades.
AFFECTS: users of games/bsdgames
AUTHOR: adamw@FreeBSD.org
- bsdgames now expects savegame data in /usr/local/var/games instead of
- /var/games. To continue using your saved games,
-
- cp -rp /var/games/* /usr/local/var/games
+ Please disregard any prior instructions about moving your game data to
+ /usr/local/var/games. If you have done this, please move it back to
+ /var/games.
20140714:
AFFECTS: users of databases/db6
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