Changes: - https://riverbankcomputing.com/news/QScintilla_2.13.0_Released - https://www.riverbankcomputing.com/hg/sip/raw-file/tip/NEWS PR: 257308 Exp-run by: antoine
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
PORTNAME= chart
|
|
PORTVERSION= ${PYQT5_VERSION}
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11-toolkits devel python
|
|
MASTER_SITES= ${MASTER_SITES_PYQTCHART}
|
|
PKGNAMEPREFIX= ${PYQT_PY_RELNAME}-
|
|
DISTNAME= ${PYQTCHART_DISTNAME}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Python bindings for the Qt5 toolkit, QtChart module
|
|
|
|
LICENSE= ${PYQT5_LICENSE}
|
|
|
|
USES= gl python:3.5+ pyqt:5 qt:5
|
|
USE_GL= gl
|
|
USE_PYQT= sip_build core gui widgets
|
|
USE_PYTHON= concurrent flavors py3kplist
|
|
USE_QT= charts core declarative gui qmake_build widgets
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --verbose --no-dist-info \
|
|
-d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 \
|
|
-q ${QMAKE} \
|
|
--sip ${SIP} \
|
|
--pyqt-sipdir=${PYQT_SIPDIR} \
|
|
--qtchart-sipdir=${PYQT_SIPDIR}
|
|
DESTDIRNAME= INSTALL_ROOT
|
|
|
|
OPTIONS_DEFINE= API DEBUG
|
|
OPTIONS_DEFAULT=API
|
|
OPTIONS_SUB= yes
|
|
|
|
API_DESC= Install QtCharts 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
|
|
|
|
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}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtChart.so
|
|
|
|
.include <bsd.port.mk>
|