# $FreeBSD: head/www/py-qt5-webengine/Makefile 569118 2021-03-24 13:34:35Z rene $ PORTNAME= webengine DISTVERSION= ${PYQT_VERSION} CATEGORIES= www devel python MASTER_SITES= https://pypi.python.org/packages/source/P/PyQtWebEngine/ PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= PyQtWebEngine-${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtWebEngine module LICENSE= GPLv3 DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core gui network printsupport webchannel USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui location network printsupport webchannel \ webengine widgets qmake_build CONFIGURE_ARGS= -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 \ -q ${QMAKE} \ --sip ${SIP} \ --pyqt-sipdir ${PYQT_SIPDIR} \ --verbose DESTDIRNAME= INSTALL_ROOT OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT= API OPTIONS_SUB= yes API_DESC= Install QtWebEngine API for QScintilla2 API_CONFIGURE_ON= --apidir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace PLIST_SUB= PYQT_WEBENGINE_VERSION=${DISTVERSION} post-install-DEBUG-off: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/PyQt5/QtWebEngine*.so post-patch: ${REINPLACE_CMD} -e "s/sip-module/sip-module-${PYTHON_VER}/" ${WRKSRC}/configure.py do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} .include