summaryrefslogtreecommitdiff
path: root/devel/py-qt5-qscintilla2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-qt5-qscintilla2/Makefile')
-rw-r--r--devel/py-qt5-qscintilla2/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/devel/py-qt5-qscintilla2/Makefile b/devel/py-qt5-qscintilla2/Makefile
index 998c3f20788c..6d9957039b3e 100644
--- a/devel/py-qt5-qscintilla2/Makefile
+++ b/devel/py-qt5-qscintilla2/Makefile
@@ -19,22 +19,25 @@ HAS_CONFIGURE= yes
USES= python pyqt:5 gl qmake:no_env qt:5
USE_GL= gl
-USE_PYQT= sip core gui printsupport widgets
+USE_PYQT= core gui printsupport widgets
USE_PYTHON= concurrent flavors py3kplist
USE_QT= core gui printsupport widgets buildtools_build qmake_build
-OPTIONS_DEFINE= DEBUG
-DEBUG_CONFIGURE_ON= --debug --trace
+OPTIONS_DEFINE= DEBUG
+DEBUG_CONFIGURE_ON= --debug --trace
-QSCIDIR= ${PREFIX}/share/qt5/qsci
-CONFIGURE_ARGS= --pyqt PyQt5 -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 -v ${PYQT_SIPDIR} \
- --apidir ${PYQT_APIDIR} --qmake ${QMAKE} --pyqt-sipdir ${PYQT_SIPDIR} \
- --sip ${SIP}
-WRKSRC= ${WRKDIR}/${DISTNAME}/Python
-ALL_TARGET= #empty
+QSCIDIR= ${PREFIX}/share/qt5/qsci
+CONFIGURE_ARGS= --pyqt PyQt5 -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 -v ${PYQT_SIPDIR} \
+ --apidir ${PYQT_APIDIR} --qmake ${QMAKE} --pyqt-sipdir ${PYQT_SIPDIR} \
+ --sip ${SIP} --qsci-sipdir ${PYQT_SIPDIR} --qsci-incdir ${QT_INCDIR} --qsci-libdir ${QT_LIBDIR}
+WRKSRC= ${WRKDIR}/${DISTNAME}/Python
+ALL_TARGET= #empty
do-configure:
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${PYTHON_CMD} configure.py ${CONFIGURE_ARGS}
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/Qsci.so
+
.include <bsd.port.mk>