aboutsummaryrefslogtreecommitdiff
path: root/games/freebsd-games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-12 21:20:49 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-12 21:20:49 +0000
commit463b8a319c68e50bd9dc06ece5b6d2b6ebc6f67b (patch)
treefa5642cf83b734b6ca70b034b13450f70b474d64 /games/freebsd-games
parent7404b987e1810a2f07c5a1d8f2a189b1fe46c62b (diff)
downloadports-463b8a319c68e50bd9dc06ece5b6d2b6ebc6f67b.tar.gz
ports-463b8a319c68e50bd9dc06ece5b6d2b6ebc6f67b.zip
Notes
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"