summaryrefslogtreecommitdiff
path: root/devel/py-pykde4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pykde4/Makefile')
-rw-r--r--devel/py-pykde4/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/py-pykde4/Makefile b/devel/py-pykde4/Makefile
index 2f5ccc51ad03..cf3a93008954 100644
--- a/devel/py-pykde4/Makefile
+++ b/devel/py-pykde4/Makefile
@@ -39,6 +39,8 @@ MAKE_JOBS_SAFE= yes
SUB_FILES= kdebindings4.pth
SUB_LIST= PYTHONPREFIX_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR}
+PLIST_SUB+= SIPDIR=share/sip
+
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
@@ -47,8 +49,6 @@ post-patch:
${FIND} -d ${PATCH_WRKSRC}/sip -name "*.orig" -delete
pre-configure:
- ${REINPLACE_CMD} -e 's,$${SIP_DEFAULT_SIP_DIR},${PREFIX}/share/py-sip,g' \
- ${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e '/add_subdirectory(examples)/ d' \
-e '/add_subdirectory(tools)/ d' \
${WRKSRC}/CMakeLists.txt