aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/tuxpaint/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile
index 8e46e49019e1..ca34f92d6585 100644
--- a/games/tuxpaint/Makefile
+++ b/games/tuxpaint/Makefile
@@ -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