blob: 56f0f8ba58deaad6d2edd34ce12f3f5cd32e1e0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
PORTNAME= webengine
DISTVERSION= ${PYQT_VERSION}
PORTREVISION= 3
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
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 <bsd.port.mk>
|