aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-qt5-webchannel/Makefile
blob: f8696ae25dec743dad79c906d400d10a93ef4097 (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
# $FreeBSD$

PORTNAME=   webchannel
PORTREVISION=   4
CATEGORIES= www devel python

MAINTAINER= kde@FreeBSD.org
COMMENT=    Python bindings for the Qt5 toolkit, QtWebChannel module

# LICENSE set in Mk/Uses/pyqt.mk

USES=       python pyqt:5 qt:5
USE_PYQT=   sip_build core_run gui_run network_run qml_run widgets_run
USE_PYTHON= flavors
USE_QT=     core qmake_build gui network qml webchannel widgets

CONFIGURE_ARGS= --enable QtWebChannel \
        --no-stubs
PYQT_DIST=  yes

OPTIONS_DEFINE=     API DEBUG
OPTIONS_DEFAULT=    API
OPTIONS_SUB=        yes

API_DESC=       Install QtWebChannel API for QScintilla2
API_CONFIGURE_ON=   --qsci-api --qsci-api-destdir=${QSCIDIR}
API_CONFIGURE_OFF=  --no-qsci-api
API_LIB_DEPENDS=    libqscintilla2_qt5.so:devel/qscintilla2-qt5
DEBUG_CONFIGURE_ON= --debug --trace

post-install-DEBUG-off:
    ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/PyQt5/QtWebChannel.so

.include <bsd.port.mk>