aboutsummaryrefslogtreecommitdiffstats
path: root/games/freebsd-games
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-01-13 05:20:49 +0800
committerpav <pav@FreeBSD.org>2004-01-13 05:20:49 +0800
commita6cc42b5cec76e24fa03d88991a47e26231f2670 (patch)
tree0a7211e74d75824143b9ac3f6d4c9ae9bc7da331 /games/freebsd-games
parent7b3701c257e6520772087b609ff97f2f4d561558 (diff)
downloadfreebsd-ports-gnome-a6cc42b5cec76e24fa03d88991a47e26231f2670.tar.gz
freebsd-ports-gnome-a6cc42b5cec76e24fa03d88991a47e26231f2670.tar.zst
freebsd-ports-gnome-a6cc42b5cec76e24fa03d88991a47e26231f2670.zip
- Teach quiz where to find it's data files
PR: ports/61235 (inspired by) Reported by: Mark Laws <mdl@60hz.org>
Diffstat (limited to 'games/freebsd-games')
-rw-r--r--games/freebsd-games/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/freebsd-games/Makefile b/games/freebsd-games/Makefile
index 3db6a53136af..eabbb0f0d8f6 100644
--- a/games/freebsd-games/Makefile
+++ b/games/freebsd-games/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freebsd-games
PORTVERSION= 5.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=markm
@@ -56,6 +56,8 @@ post-patch:
@${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' -or -name '*.6' -or \
-name 'index' | ${XARGS} ${REINPLACE_CMD} -e \
's|share/games|local/share/games|g'
+ @${REINPLACE_CMD} -e 's|/usr/local/local/local|${PREFIX}|g' \
+ ${WRKSRC}/quiz/pathnames.h ${WRKSRC}/quiz/datfiles/index
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
"${WRKSRC}/hack/hack.unix.c"