blob: b33edfeee93779abb7f84f4c56d0b9182525e7ec (
plain)
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
|
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
USES= python:3.5+ pyqt:5 gl qt:5
USE_GL= gl
USE_PYQT= core gui printsupport widgets sip_build qtbuilder
USE_PYTHON= concurrent flavors py3kplist
USE_QT= core gui printsupport widgets buildtools_build qmake_build
OPTIONS_DEFINE= DEBUG
DEBUG_CONFIGURE_ON= --debug --trace
WRKSRC= ${WRKDIR}/${DISTNAME}/Python
ALL_TARGET= #empty
post-extract:
${CP} ${WRKSRC}/pyproject-qt5.toml ${WRKSRC}/pyproject.toml
do-build:
(cd ${WRKSRC} ; sip-build-${PYTHON_VER} --verbose --no-make --build-dir build ; ${MAKE} -C ./build )
do-install:
(cd ${WRKSRC} ; ${MAKE} -C ./build install INSTALL_ROOT=${STAGEDIR} )
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/Qsci.abi3.so
.include <bsd.port.mk>
|