mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
fix games/freebsd-games:
- Some of the games in freebsd-games needs data files which is installed in /usr/local/share/games, but they won't work correctly because they look at /usr/share/games. PR: 53016 Submitted by: HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp>
This commit is contained in:
parent
8efc56e82f
commit
a987973005
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84043
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user