aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-02 12:46:23 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-02 12:46:23 +0000
commita98797300507a5b565a2729a696c0ef356e6e440 (patch)
treebb7ff41fd33758aea16e01a3900dbed5b555565f /games/bsdgames
parent8efc56e82feed2b7517dfd2ec1289356010e247a (diff)
downloadports-a98797300507a5b565a2729a696c0ef356e6e440.tar.gz
ports-a98797300507a5b565a2729a696c0ef356e6e440.zip
Notes
Diffstat (limited to 'games/bsdgames')
-rw-r--r--games/bsdgames/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile
index 7b77d9fa217e..e798e9616a34 100644
--- a/games/bsdgames/Makefile
+++ b/games/bsdgames/Makefile
@@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR=markm
MAINTAINER= ports@FreeBSD.org
COMMENT= FreeBSD-modified "Standard" BSD games
+USE_REINPLACE= yes
USE_BZIP2= yes
MAN6= \
@@ -51,4 +52,9 @@ post-extract:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} extract)
+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' \
+
.include <bsd.port.mk>