aboutsummaryrefslogtreecommitdiff
path: root/games/tuxpaint
diff options
context:
space:
mode:
authorKris Moore <kmoore@FreeBSD.org>2009-11-11 21:57:45 +0000
committerKris Moore <kmoore@FreeBSD.org>2009-11-11 21:57:45 +0000
commit23539ccff75b58e35d5daa2bbc74090856955af8 (patch)
treee154b772342302def7b2d24f62ef3ffd41463074 /games/tuxpaint
parent31d669d82f9711b46ac24e38bc7136f3ad71fe5e (diff)
downloadports-23539ccff75b58e35d5daa2bbc74090856955af8.tar.gz
ports-23539ccff75b58e35d5daa2bbc74090856955af8.zip
- Fix runtime issues when using CUSTOM prefix
PR: 139650 Submitted by: myself Approved by: Maintainer Timeout Approved by: miwi (mentor)
Notes
Notes: svn path=/head/; revision=244134
Diffstat (limited to 'games/tuxpaint')
-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