aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-fox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-fox/Makefile')
-rw-r--r--x11-toolkits/py-fox/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11-toolkits/py-fox/Makefile b/x11-toolkits/py-fox/Makefile
index 85169578b3ab..8e8ffd95b7f0 100644
--- a/x11-toolkits/py-fox/Makefile
+++ b/x11-toolkits/py-fox/Makefile
@@ -26,6 +26,9 @@ WRKSRC= ${WRKDIR}/FXPy-${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/setup.py
+
do-install:
@(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} install ${PYDISTUTILS_INSTALLARGS})
.if !defined(NOPORTDOCS)