diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-02 12:46:23 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-02 12:46:23 +0000 |
commit | a98797300507a5b565a2729a696c0ef356e6e440 (patch) | |
tree | bb7ff41fd33758aea16e01a3900dbed5b555565f /games | |
parent | 8efc56e82feed2b7517dfd2ec1289356010e247a (diff) | |
download | ports-a98797300507a5b565a2729a696c0ef356e6e440.tar.gz ports-a98797300507a5b565a2729a696c0ef356e6e440.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/bsdgames/Makefile | 6 | ||||
-rw-r--r-- | games/freebsd-games/Makefile | 6 |
2 files changed, 12 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> diff --git a/games/freebsd-games/Makefile b/games/freebsd-games/Makefile index 7b77d9fa217e..e798e9616a34 100644 --- a/games/freebsd-games/Makefile +++ b/games/freebsd-games/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> |