aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-02 03:45:02 +0800
committerrafan <rafan@FreeBSD.org>2006-12-02 03:45:02 +0800
commit73ffa2ca6fd0ff9a2ac9f32a0d81a6dea5190350 (patch)
treee5113900ea8b5bfca65e6279e2f3afcac4722ea9
parentfc70be4c2492c0782e0f0b4750c8648069dcdbe3 (diff)
downloadfreebsd-ports-gnome-73ffa2ca6fd0ff9a2ac9f32a0d81a6dea5190350.tar.gz
freebsd-ports-gnome-73ffa2ca6fd0ff9a2ac9f32a0d81a6dea5190350.tar.zst
freebsd-ports-gnome-73ffa2ca6fd0ff9a2ac9f32a0d81a6dea5190350.zip
- Respect X11BASE
Reported by: pointyhat
-rw-r--r--x11-toolkits/py-fltk/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11-toolkits/py-fltk/Makefile b/x11-toolkits/py-fltk/Makefile
index f160ce477341..5158e2de6156 100644
--- a/x11-toolkits/py-fltk/Makefile
+++ b/x11-toolkits/py-fltk/Makefile
@@ -27,6 +27,9 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
XTRADOCS= CHANGES README TODO
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/setup.py
+
post-build:
${REINPLACE_CMD} -e "s|\.\./docs|${DOCSDIR}/html|g" ${WRKSRC}/test/help.py