blob: ec06716f2a6e4f0c825577eee466d30067477022 (
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
|
# $FreeBSD$
PORTNAME= qscintilla2
PORTVERSION= ${QSCI2_VERSION}
PORTREVISION= 1
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>
|