1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Fix runtime issues when using CUSTOM prefix

PR: 139650
Submitted by: myself
Approved by: Maintainer Timeout
Approved by: miwi (mentor)
This commit is contained in:
Kris Moore 2009-11-11 21:57:45 +00:00
parent 31d669d82f
commit 23539ccff7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244134

View File

@ -24,8 +24,14 @@ USE_SDL= image mixer sdl ttf pango
MAN1= tp-magic-config.1 tuxpaint.1 tuxpaint-import.1
MANCOMPRESSED= yes
.if defined(NOPORTDOCS)
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/${MAKEFILE} \
${WRKSRC}/src/tuxpaint-import.sh \
${WRKSRC}/src/tp_magic_api.h.in \
${WRKSRC}/src/tuxpaint.conf \
${WRKSRC}/hildon/tuxpaint.conf
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|install-doc\([^:]\)|\1|' ${WRKSRC}/${MAKEFILE}
.endif