ports/devel/py-qt5-qscintilla2/Makefile
Raphael Kubo da Costa a9709471be Update SIP to 4.19.6, PyQt4 to 4.12.1 and PyQt5 to 5.9.2.
Upstream no longer ships the contents of misc/py-qt5-doc, so the port has been
removed.

This is also a requirement for updating the Qt5 ports, as the PyQt5 version
currently in the tree has license conflicts with later Qt versions.

Big thanks to tcberner for doing most of the work here, and antoine for the
exp-run.

PR:		224739
2018-01-02 20:21:34 +00:00

41 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= qscintilla2
PORTVERSION= ${QSCI2_VERSION}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITES_QSCI2}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt5-
DISTNAME= ${QSCI2_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Python bindings for QScintilla2 (PyQt5), QSci module
LIB_DEPENDS= libqscintilla2-qt5.so:devel/qscintilla2-qt5
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt5/distinfo
DESTDIRNAME= INSTALL_ROOT
HAS_CONFIGURE= yes
QT_NONSTANDARD= yes # Do not add unknown arguments to CONFIGURE_ARGS.
USES= python pyqt:5
USE_GL= gl
USE_PYQT= sip core gui printsupport widgets
USE_PYTHON= flavors
USE_QT5= core gui printsupport widgets buildtools_build qmake_build
OPTIONS_DEFINE= DEBUG
DEBUG_CONFIGURE_ON= --debug --trace
QSCIDIR= ${PREFIX}/share/qt5/qsci
CONFIGURE_ARGS= --pyqt PyQt5 -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 -v ${SIPDIR} \
--apidir ${QSCIDIR} --qmake ${QMAKE} --pyqt-sipdir ${SIPDIR} \
--sip ${LOCALBASE}/bin/sip-${PYTHON_VER}
WRKSRC= ${WRKDIR}/${DISTNAME}/Python
ALL_TARGET= #empty
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
${PYTHON_CMD} configure.py ${CONFIGURE_ARGS}
.include <bsd.port.mk>