aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2009-11-12 05:57:45 +0800
committerkmoore <kmoore@FreeBSD.org>2009-11-12 05:57:45 +0800
commit53e8b0c140ade46e62f643b23eb6042d16e33f70 (patch)
tree3518f60a5e772bbc5d6da32cfb9ba585229c5c49 /games
parentd9cfe7a5863ce97800da0c515f9392aa18497e79 (diff)
downloadfreebsd-ports-gnome-53e8b0c140ade46e62f643b23eb6042d16e33f70.tar.gz
freebsd-ports-gnome-53e8b0c140ade46e62f643b23eb6042d16e33f70.tar.zst
freebsd-ports-gnome-53e8b0c140ade46e62f643b23eb6042d16e33f70.zip
- Fix runtime issues when using CUSTOM prefix
PR: 139650 Submitted by: myself Approved by: Maintainer Timeout Approved by: miwi (mentor)
Diffstat (limited to 'games')
-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