diff options
author | pav <pav@FreeBSD.org> | 2004-01-12 21:20:49 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-01-12 21:20:49 +0000 |
commit | a6cc42b5cec76e24fa03d88991a47e26231f2670 (patch) | |
tree | 0a7211e74d75824143b9ac3f6d4c9ae9bc7da331 /games/bsdgames | |
parent | 7b3701c257e6520772087b609ff97f2f4d561558 (diff) | |
download | FreeBSD-ports-a6cc42b5cec76e24fa03d88991a47e26231f2670.zip FreeBSD-ports-a6cc42b5cec76e24fa03d88991a47e26231f2670.tar.gz |
- 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/bsdgames')
-rw-r--r-- | games/bsdgames/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile index 3db6a53..eabbb0f 100644 --- a/games/bsdgames/Makefile +++ b/games/bsdgames/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" |