Lines 29-89
Link Here
|
29 |
# option is for internal use by the py-sip ports. |
29 |
# option is for internal use by the py-sip ports. |
30 |
_PYQT_SUPPORTED= 5 sip |
30 |
_PYQT_SUPPORTED= 5 sip |
31 |
.if empty(pyqt_ARGS) |
31 |
. if empty(pyqt_ARGS) |
32 |
IGNORE= pyqt needs a qt-version (${_PYQT_SUPPORTED}) |
32 |
IGNORE= pyqt needs a qt-version (${_PYQT_SUPPORTED}) |
33 |
.endif |
33 |
. endif |
34 |
# At the moment we support PyQt bindings versions 5 |
34 |
# At the moment we support PyQt bindings versions 5 |
35 |
.for ver in ${_PYQT_SUPPORTED:O:u} |
35 |
. for ver in ${_PYQT_SUPPORTED:O:u} |
36 |
. if ${pyqt_ARGS:M${ver}} |
36 |
. if ${pyqt_ARGS:M${ver}} |
37 |
. if empty(_PYQT_VERSION) |
37 |
. if empty(_PYQT_VERSION) |
38 |
_PYQT_VERSION= ${ver} |
38 |
_PYQT_VERSION= ${ver} |
39 |
. else |
39 |
. else |
40 |
IGNORE?= cannot be installed: different PYQT versions specified via pyqt:[${_PYQT_SUPPORTED:S/ //g}] |
40 |
IGNORE?= cannot be installed: different PYQT versions specified via pyqt:[${_PYQT_SUPPORTED:S/ //g}] |
|
|
41 |
. endif |
41 |
. endif |
42 |
. endif |
42 |
. endif |
43 |
. endfor |
43 |
.endfor |
|
|
44 |
.if empty(_PYQT_VERSION) |
44 |
. if empty(_PYQT_VERSION) |
45 |
IGNORE?= USES=pyqt needs a version number (valid values: ${_PYQT_SUPPORTED}) |
45 |
IGNORE?= USES=pyqt needs a version number (valid values: ${_PYQT_SUPPORTED}) |
46 |
_PYQT_VERSION= 0 |
46 |
_PYQT_VERSION= 0 |
47 |
.endif |
47 |
. endif |
48 |
PYQT_MAINTAINER= kde@FreeBSD.org |
48 |
PYQT_MAINTAINER= kde@FreeBSD.org |
49 |
MASTER_SITE_RIVERBANK= https://www.riverbankcomputing.com/static/Downloads/%SUBDIR%/ |
49 |
MASTER_SITE_RIVERBANK= https://www.riverbankcomputing.com/static/Downloads/%SUBDIR%/ |
|
|
50 |
#MASTER_SITES_SIP= https://pypi.python.org/packages/source/s/sip/ |
50 |
# https://www.riverbankcomputing.com/static/Downloads/sip/4.19.15/sip-4.19.15.tar.gz |
51 |
# https://www.riverbankcomputing.com/static/Downloads/sip/4.19.15/sip-4.19.15.tar.gz |
51 |
MASTER_SITES_SIP= RIVERBANK/sip/${PORTVERSION} \ |
52 |
MASTER_SITES_SIP= RIVERBANK/sip/${PORTVERSION} \ |
52 |
SF/pyqt/sip/sip-${PORTVERSION} \ |
53 |
SF/pyqt/sip/sip-${PORTVERSION} \ |
53 |
GENTOO |
54 |
GENTOO |
54 |
MASTER_SITES_PYQT5= RIVERBANK/PyQt5/${PORTVERSION} \ |
55 |
MASTER_SITES_PYQT5= https://pypi.python.org/packages/source/P/PyQt5/ |
55 |
SF/pyqt/PyQt5/PyQt-${PORTVERSION} \ |
56 |
MASTER_SITES_PYQTSIP= https://pypi.python.org/packages/source/P/PyQt5-sip/ |
56 |
GENTOO |
57 |
MASTER_SITES_PYQTCHART= https://pypi.python.org/packages/source/P/PyQtChart/ |
57 |
#https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.11.4/QScintilla-2.11.4.tar.gz |
58 |
#https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.11.4/QScintilla-2.11.4.tar.gz |
58 |
MASTER_SITES_QSCI2= RIVERBANK/QScintilla/${PORTVERSION} \ |
59 |
MASTER_SITES_QSCI2= RIVERBANK/QScintilla/${PORTVERSION} \ |
59 |
SF/pyqt/QScintilla2/QScintilla-${PORTVERSION} \ |
60 |
SF/pyqt/QScintilla2/QScintilla-${PORTVERSION} \ |
60 |
GENTOO |
61 |
GENTOO |
61 |
SIP_VERSION= 4.19.21 |
62 |
SIP_VERSION= 4.19.24 |
62 |
QSCI2_VERSION= 2.11.4 |
63 |
QSCI2_VERSION= 2.11.5 |
63 |
PYQT5_VERSION= 5.13.1 |
64 |
PYQT5_VERSION= 5.15.0 |
|
|
65 |
PYQTSIP_VERSION= 12.8.0 |
64 |
SIP_DISTNAME= sip-${SIP_VERSION} |
66 |
SIP_DISTNAME= sip-${SIP_VERSION} |
65 |
PYQT5_DISTNAME= PyQt5_gpl-${PYQT5_VERSION} |
67 |
PYQT5_DISTNAME= PyQt5-${PYQT5_VERSION} |
|
|
68 |
PYQTSIP_DISTNAME= PyQt5_sip-${PYQTSIP_VERSION} |
69 |
PYQTCHART_DISTNAME= PyQtChart-${PYQT_VERSION} |
66 |
PYQT5_DISTINFO_FILE= ${.CURDIR:H:H}/devel/${PYQT_RELNAME}/distinfo |
70 |
PYQT5_DISTINFO_FILE= ${.CURDIR:H:H}/devel/${PYQT_RELNAME}/distinfo |
67 |
QSCI2_DISTNAME= QScintilla-${QSCI2_VERSION} |
71 |
QSCI2_DISTNAME= QScintilla-${QSCI2_VERSION} |
68 |
PYQT5_LICENSE= GPLv3 |
72 |
PYQT5_LICENSE= GPLv3 |
|
|
73 |
_USE_PYQT_COMMS= sensors serialport |
74 |
_USE_PYQT_DATABASES= sql |
75 |
_USE_PYQT_DEVEL= core dbus dbussupport help location \ |
76 |
designer designerplugin remoteobjects test |
77 |
_USE_PYQT_GRAPHICS= svg |
78 |
_USE_PYQT_LANG= qml |
79 |
_USE_PYQT_MISC= demo |
80 |
_USE_PYQT_MULTIMEDIA= multimedia multimediawidgets |
81 |
_USE_PYQT_NET= network networkauth |
82 |
_USE_PYQT_PRINT= printsupport |
83 |
_USE_PYQT_TEXTPROC= xml xmlpatterns |
84 |
_USE_PYQT_WWW= webchannel webengine webkit webkitwidgets websockets |
85 |
_USE_PYQT_X11= opengl |
86 |
_USE_PYQT_X11-TOOLKITS= chart gui widgets quick quick3d quickwidgets |
87 |
|
69 |
# Keep these synchronized with OPTIONS_DEFINE in devel/py-qt5 |
88 |
# Keep these synchronized with OPTIONS_DEFINE in devel/py-qt5 |
70 |
# PyQt components split up into pyqt5/... |
89 |
# PyQt components split up into pyqt5/... |
71 |
_USE_PYQT_ALL= core dbus dbussupport demo designer designerplugin \ |
90 |
_USE_PYQT_ALL= ${_USE_PYQT_COMMS} \ |
72 |
gui help multimedia network opengl qscintilla2 \ |
91 |
${_USE_PYQT_DATABASES} \ |
73 |
sql svg test webkit xml xmlpatterns sip |
92 |
${_USE_PYQT_DEVEL} \ |
74 |
# List of components only in pyqt5 |
93 |
${_USE_PYQT_GRAPHICS} \ |
75 |
_USE_PYQT5_ONLY= multimediawidgets printsupport qml quickwidgets \ |
94 |
${_USE_PYQT_LANG} \ |
76 |
serialport webchannel webengine webkitwidgets \ |
95 |
${_USE_PYQT_MISC} \ |
77 |
websockets widgets |
96 |
${_USE_PYQT_MULTIMEDIA} \ |
|
|
97 |
${_USE_PYQT_NET} \ |
98 |
${_USE_PYQT_PRINT} \ |
99 |
${_USE_PYQT_TEXTPROC} \ |
100 |
${_USE_PYQT_WWW} \ |
101 |
${_USE_PYQT_X11} \ |
102 |
${_USE_PYQT_X11-TOOLKITS} |
103 |
_USE_SIP_ALL= sip # pysip |
104 |
_USE_QSCINTILLA= qscintilla2 |
78 |
# Unversioned variables for the rest of the file |
105 |
# Unversioned variables for the rest of the file |
79 |
PYQT_VERSION= ${PYQT${_PYQT_VERSION}_VERSION} |
106 |
PYQT_VERSION= ${PYQT${_PYQT_VERSION}_VERSION} |
Lines 94-194
Link Here
|
94 |
PYQT_DISTINFO_FILE= ${PYQT${_PYQT_VERSION}_DISTINFO_FILE} |
121 |
PYQT_DISTINFO_FILE= ${PYQT${_PYQT_VERSION}_DISTINFO_FILE} |
95 |
PYQT_LICENSE= ${PYQT${_PYQT_VERSION}_LICENSE} |
122 |
PYQT_LICENSE= ${PYQT${_PYQT_VERSION}_LICENSE} |
|
|
123 |
# PATH |
96 |
py-sip_PATH= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION} |
124 |
py-sip_PATH= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION} |
97 |
|
125 |
# py-pysip_PATH= ${PYQT_PY_RELNAME}-sip>=${PYQTSIP_VERSION} |
98 |
py-assistant_PATH= ${PYQT_PY_RELNAME}-assistant>=${PYQT_VERSION} |
|
|
99 |
py-core_PATH= ${PYQT_PY_RELNAME}-core>=${PYQT_VERSION} |
100 |
py-dbus_PATH= ${PYQT_PY_RELNAME}-dbus>=${PYQT_VERSION} |
101 |
py-dbussupport_PATH= ${PYQT_PY_RELNAME}-dbussupport>=${PYQT_VERSION} |
102 |
py-declarative_PATH= ${PYQT_PY_RELNAME}-declarative>=${PYQT_VERSION} |
103 |
py-demo_PATH= ${PYQT_PY_RELNAME}-demo>=${PYQT_VERSION} |
104 |
py-designer_PATH= ${PYQT_PY_RELNAME}-designer>=${PYQT_VERSION} |
105 |
py-designerplugin_PATH= ${PYQT_PY_RELNAME}-designerplugin>=${PYQT_VERSION} |
106 |
py-doc_PATH= ${PYQT_PY_RELNAME}-doc>=${PYQT_VERSION} |
107 |
py-gui_PATH= ${PYQT_PY_RELNAME}-gui>=${PYQT_VERSION} |
108 |
py-help_PATH= ${PYQT_PY_RELNAME}-help>=${PYQT_VERSION} |
109 |
py-multimedia_PATH= ${PYQT_PY_RELNAME}-multimedia>=${PYQT_VERSION} |
110 |
py-network_PATH= ${PYQT_PY_RELNAME}-network>=${PYQT_VERSION} |
111 |
py-opengl_PATH= ${PYQT_PY_RELNAME}-opengl>=${PYQT_VERSION} |
112 |
py-phonon_PATH= ${PYQT_PY_RELNAME}-phonon>=${PYQT_VERSION} |
113 |
py-qscintilla2_PATH= ${PYQT_PY_RELNAME}-qscintilla2>=${QSCI2_VERSION} |
126 |
py-qscintilla2_PATH= ${PYQT_PY_RELNAME}-qscintilla2>=${QSCI2_VERSION} |
114 |
py-script_PATH= ${PYQT_PY_RELNAME}-script>=${PYQT_VERSION} |
127 |
. for _component in ${_USE_PYQT_ALL} |
115 |
py-scripttools_PATH= ${PYQT_PY_RELNAME}-scripttools>=${PYQT_VERSION} |
128 |
py-${_component}_PATH?=${PYQT_PY_RELNAME}-${_component}>=${PYQT_VERSION} |
116 |
py-sql_PATH= ${PYQT_PY_RELNAME}-sql>=${PYQT_VERSION} |
129 |
. endfor |
117 |
py-svg_PATH= ${PYQT_PY_RELNAME}-svg>=${PYQT_VERSION} |
130 |
# PORT |
118 |
py-test_PATH= ${PYQT_PY_RELNAME}-test>=${PYQT_VERSION} |
|
|
119 |
py-webchannel_PATH= ${PYQT_PY_RELNAME}-webchannel>=${PYQT_VERSION} |
120 |
py-webengine_PATH= ${PYQT_PY_RELNAME}-webengine>=5.12.1 |
121 |
py-webkit_PATH= ${PYQT_PY_RELNAME}-webkit>=${PYQT_VERSION} |
122 |
py-websockets_PATH= ${PYQT_PY_RELNAME}-websockets>=${PYQT_VERSION} |
123 |
py-xml_PATH= ${PYQT_PY_RELNAME}-xml>=${PYQT_VERSION} |
124 |
py-xmlpatterns_PATH= ${PYQT_PY_RELNAME}-xmlpatterns>=${PYQT_VERSION} |
125 |
py-multimediawidgets_PATH= ${PYQT_PY_RELNAME}-multimediawidgets>=${PYQT_VERSION} |
126 |
py-qml_PATH= ${PYQT_PY_RELNAME}-qml>=${PYQT_VERSION} |
127 |
py-quickwidgets_PATH= ${PYQT_PY_RELNAME}-quickwidgets>=${PYQT_VERSION} |
128 |
py-printsupport_PATH= ${PYQT_PY_RELNAME}-printsupport>=${PYQT_VERSION} |
129 |
py-serialport_PATH= ${PYQT_PY_RELNAME}-serialport>=${PYQT_VERSION} |
130 |
py-webkitwidgets_PATH= ${PYQT_PY_RELNAME}-webkitwidgets>=${PYQT_VERSION} |
131 |
py-widgets_PATH= ${PYQT_PY_RELNAME}-widgets>=${PYQT_VERSION} |
132 |
py-sip_PORT= devel/py-sip |
131 |
py-sip_PORT= devel/py-sip |
133 |
|
132 |
# py-pysip_PORT= devel/${PYQT_RELNAME}-sip |
134 |
py-assistant_PORT= devel/${PYQT_RELNAME}-assistant |
|
|
135 |
py-core_PORT= devel/${PYQT_RELNAME}-core |
136 |
py-dbus_PORT= devel/${PYQT_RELNAME}-dbus |
137 |
py-dbussupport_PORT= devel/${PYQT_RELNAME}-dbussupport |
138 |
py-declarative_PORT= devel/${PYQT_RELNAME}-declarative |
139 |
py-demo_PORT= misc/${PYQT_RELNAME}-demo |
140 |
py-designer_PORT= devel/${PYQT_RELNAME}-designer |
141 |
py-designerplugin_PORT= devel/${PYQT_RELNAME}-designerplugin |
142 |
py-doc_PORT= misc/${PYQT_RELNAME}-doc |
143 |
py-gui_PORT= x11-toolkits/${PYQT_RELNAME}-gui |
144 |
py-help_PORT= devel/${PYQT_RELNAME}-help |
145 |
py-multimedia_PORT= multimedia/${PYQT_RELNAME}-multimedia |
146 |
py-network_PORT= net/${PYQT_RELNAME}-network |
147 |
py-opengl_PORT= x11/${PYQT_RELNAME}-opengl |
148 |
py-phonon_PORT= multimedia/${PYQT_RELNAME}-phonon |
149 |
py-qscintilla2_PORT= devel/${PYQT_RELNAME}-qscintilla2 |
133 |
py-qscintilla2_PORT= devel/${PYQT_RELNAME}-qscintilla2 |
150 |
py-script_PORT= devel/${PYQT_RELNAME}-script |
134 |
. for _categorie in comms databases devel graphics lang misc multimedia net print textproc www x11 x11-toolkits |
151 |
py-scripttools_PORT= devel/${PYQT_RELNAME}-scripttools |
135 |
_PYQT_CATEGORIE= _USE_PYQT_${_categorie:tu} |
152 |
py-sql_PORT= databases/${PYQT_RELNAME}-sql |
136 |
. for _component in ${${_PYQT_CATEGORIE}} |
153 |
py-svg_PORT= graphics/${PYQT_RELNAME}-svg |
137 |
py-${_component}_PORT?=${_categorie}/${PYQT_RELNAME}-${_component} |
154 |
py-test_PORT= devel/${PYQT_RELNAME}-test |
138 |
. endfor |
155 |
py-webchannel_PORT= www/${PYQT_RELNAME}-webchannel |
139 |
. endfor |
156 |
py-webengine_PORT= www/${PYQT_RELNAME}-webengine |
|
|
157 |
py-webkit_PORT= www/${PYQT_RELNAME}-webkit |
158 |
py-websockets_PORT= www/${PYQT_RELNAME}-websockets |
159 |
py-xml_PORT= textproc/${PYQT_RELNAME}-xml |
160 |
py-xmlpatterns_PORT= textproc/${PYQT_RELNAME}-xmlpatterns |
161 |
py-multimediawidgets_PORT= multimedia/py-qt5-multimediawidgets |
162 |
py-qml_PORT= lang/py-qt5-qml |
163 |
py-quickwidgets_PORT= x11-toolkits/py-qt5-quickwidgets |
164 |
py-printsupport_PORT= print/py-qt5-printsupport |
165 |
py-serialport_PORT= comms/py-qt5-serialport |
166 |
py-webkitwidgets_PORT= www/py-qt5-webkitwidgets |
167 |
py-widgets_PORT= x11-toolkits/py-qt5-widgets |
168 |
py-assistant_DESC= Python bindings for QtAssistant module |
|
|
169 |
py-core_DESC= Python bindings for QtCore module |
140 |
py-core_DESC= Python bindings for QtCore module |
|
|
141 |
py-chart_DESC= Python bindings for QtChart module |
170 |
py-dbus_DESC= Python bindings for QtDBus module |
142 |
py-dbus_DESC= Python bindings for QtDBus module |
171 |
py-dbussupport_DESC= Qt event loop support for dbus-python |
143 |
py-dbussupport_DESC= Qt event loop support for dbus-python |
172 |
py-declarative_DESC= Python bindings for QtDeclarative module |
|
|
173 |
py-demo_DESC= PyQt demo and examples |
144 |
py-demo_DESC= PyQt demo and examples |
174 |
py-designer_DESC= Python bindings for QtDesigner module |
145 |
py-designer_DESC= Python bindings for QtDesigner module |
175 |
py-designerplugin_DESC= Python bindings for QtDesigner plugin |
146 |
py-designerplugin_DESC= Python bindings for QtDesigner plugin |
176 |
py-doc_DESC= PyQt documentation |
|
|
177 |
py-gui_DESC= Python bindings for QtGui module |
147 |
py-gui_DESC= Python bindings for QtGui module |
178 |
py-help_DESC= Python bindings for QtHelp module |
148 |
py-help_DESC= Python bindings for QtHelp module |
|
|
149 |
py-location_DESC= Python bindings for Location module |
179 |
py-multimedia_DESC= Python bindings for Multimedia module |
150 |
py-multimedia_DESC= Python bindings for Multimedia module |
|
|
151 |
py-multimediawidgets_DESC= Python bindings for QtMultimediaWidgets module |
180 |
py-network_DESC= Python bindings for QtNetwork module |
152 |
py-network_DESC= Python bindings for QtNetwork module |
|
|
153 |
py-networkauth_DESC= Python bindings for QtNetworkAuth module |
181 |
py-opengl_DESC= Python bindings for QtOpenGL module |
154 |
py-opengl_DESC= Python bindings for QtOpenGL module |
182 |
py-phonon_DESC= Python bindings for Phonon module |
155 |
py-printsupport_DESC= Python bindings for Printsupport module |
|
|
156 |
py-qml_DESC= Python bindings for Qml module |
183 |
py-qscintilla2_DESC= Python bindings for QScintilla2 |
157 |
py-qscintilla2_DESC= Python bindings for QScintilla2 |
184 |
py-script_DESC= Python bindings for QtScript module |
158 |
py-quick_DESC= Python bindings for QtQuick module |
185 |
py-scripttools_DESC= Python bindings for QtScriptTools module |
159 |
py-quick3d_DESC= Python bindings for QtQuick3D module |
|
|
160 |
py-quickwidgets_DESC= Python bindings for QtQuickWidgets module |
161 |
py-remoteobjects_DESC= Python bindings for QtRemoteObjects module |
186 |
py-sip_DESC= Python bindings generator for C and C++ libraries |
162 |
py-sip_DESC= Python bindings generator for C and C++ libraries |
|
|
163 |
py-sensors_DESC= Python bindings for QtSensors |
164 |
py-serialport_DESC= Python bindings for QtSerialPort |
187 |
py-sql_DESC= Python bindings for QtSql module |
165 |
py-sql_DESC= Python bindings for QtSql module |
188 |
py-svg_DESC= Python bindings for QtSvg module |
166 |
py-svg_DESC= Python bindings for QtSvg module |
189 |
py-test_DESC= Python bindings for QtTest module |
167 |
py-test_DESC= Python bindings for QtTest module |
Lines 195-211
Link Here
|
195 |
py-webchannel_DESC= Python bindings for QtWebChannel module |
173 |
py-webchannel_DESC= Python bindings for QtWebChannel module |
196 |
py-webengine_DESC= Python bindings for QtWebEngine module |
174 |
py-webengine_DESC= Python bindings for QtWebEngine module |
197 |
py-webkit_DESC= Python bindings for QtWebKit module |
175 |
py-webkit_DESC= Python bindings for QtWebKit module |
|
|
176 |
py-webkitwidgets_DESC= Python bindings for QtWebKitWidgets module |
177 |
py-widgets_DESC= Python bindings for QTWidgets module |
198 |
py-xml_DESC= Python bindings for QtXml module |
178 |
py-xml_DESC= Python bindings for QtXml module |
199 |
py-xmlpatterns_DESC= Python bindings for QtXmlPatterns module |
179 |
py-xmlpatterns_DESC= Python bindings for QtXmlPatterns module |
200 |
py-multimediawidgets_DESC= Python bindings for QtMultimediaWidgets module |
|
|
201 |
py-qml_DESC= Python bindings for Qml module |
202 |
py-quickwidgets_DESC= Python bindings for QtQuickWidgets module |
203 |
py-printsupport_DESC= Python bindings for Printsupport module |
204 |
py-serialport_DESC= Python bindings for QtSerialPort |
205 |
py-webkitwidgets_DESC= Python bindings for QtWebKitWidgets module |
206 |
py-widgets_DESC= Python bindings for QTWidgets module |
207 |
|
208 |
# The versionned executable of sip |
180 |
# The versionned executable of sip |
209 |
SIP= ${LOCALBASE}/bin/sip-${PYTHON_VER} |
181 |
SIP= ${LOCALBASE}/bin/sip-${PYTHON_VER} |
Lines 236-242
Link Here
|
236 |
PYQT_QSCIVERSION=${QSCI2_VERSION} \ |
208 |
PYQT_QSCIVERSION=${QSCI2_VERSION} \ |
237 |
PYQT_PYQTVERSION=${PYQT_VERSION} |
209 |
PYQT_PYQTVERSION=${PYQT_VERSION} |
238 |
.if defined(PYQT_DIST) |
210 |
. if defined(PYQT_DIST) |
239 |
PORTVERSION= ${PYQT_VERSION} |
211 |
PORTVERSION= ${PYQT_VERSION} |
240 |
MASTER_SITES= ${PYQT_MASTERSITES} |
212 |
MASTER_SITES= ${PYQT_MASTERSITES} |
241 |
PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- |
213 |
PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- |
Lines 245-257
Link Here
|
245 |
LICENSE?= ${PYQT_LICENSE} |
217 |
LICENSE?= ${PYQT_LICENSE} |
246 |
HAS_CONFIGURE= yes |
218 |
HAS_CONFIGURE= yes |
247 |
.if ${_PYQT_VERSION} > 4 |
219 |
. if ${_PYQT_VERSION} > 4 |
248 |
# PyQt5's configure.py generates .pro files and calls qmake to generate the |
220 |
# PyQt5's configure.py generates .pro files and calls qmake to generate the |
249 |
# Makefiles. qmake's Makefiles use INSTALL_ROOT instead of DESTDIR. |
221 |
# Makefiles. qmake's Makefiles use INSTALL_ROOT instead of DESTDIR. |
250 |
DESTDIRNAME= INSTALL_ROOT |
222 |
DESTDIRNAME= INSTALL_ROOT |
251 |
# Limit PyQt5's version to the Qt5 version in ports |
223 |
# Limit PyQt5's version to the Qt5 version in ports |
252 |
PORTSCOUT?= limit:^${_QT_VERSION:R} |
224 |
PORTSCOUT?= limit:^${_QT_VERSION:R} |
253 |
.endif |
225 |
. endif |
254 |
PATCHDIR= ${.CURDIR}/../../devel/${PYQT_RELNAME}-core/files |
226 |
PATCHDIR= ${.CURDIR}/../../devel/${PYQT_RELNAME}-core/files |
255 |
CONFIGURE_ARGS+=-b ${PREFIX}/bin \ |
227 |
CONFIGURE_ARGS+=-b ${PREFIX}/bin \ |
Lines 260-290
Link Here
|
260 |
--confirm-license \ |
232 |
--confirm-license \ |
261 |
--sip ${SIP} \ |
233 |
--sip ${SIP} \ |
262 |
--sipdir ${PYQT_SIPDIR} |
234 |
--sipdir ${PYQT_SIPDIR} |
263 |
.if ${_PYQT_VERSION:M5} |
235 |
. if ${_PYQT_VERSION:M5} |
264 |
# Move the designer plugin and qml libraries to versioned folders. |
236 |
# Move the designer plugin and qml libraries to versioned folders. |
265 |
CONFIGURE_ARGS+=--qml-plugindir ${PYQT_QMLDIR} \ |
237 |
CONFIGURE_ARGS+=--qml-plugindir ${PYQT_QMLDIR} \ |
266 |
--designer-plugindir ${PYQT_DESIGNERDIR} |
238 |
--designer-plugindir ${PYQT_DESIGNERDIR} |
267 |
# Further do not gernate the dinstinfo files. |
239 |
# Further do not gernate the dinstinfo files. |
268 |
CONFIGURE_ARGS+=--no-dist-info |
240 |
CONFIGURE_ARGS+=--no-dist-info |
269 |
.endif |
241 |
. endif |
270 |
# One of the things PyQt looks for to determine whether to build the Qt DBus |
242 |
# One of the things PyQt looks for to determine whether to build the Qt DBus |
271 |
# main loop module (${PYQT_RELNAME}-dbussupport) is whether the dbus/ directory is |
243 |
# main loop module (${PYQT_RELNAME}-dbussupport) is whether the dbus/ directory is |
272 |
# present. Only extract it for that port then. |
244 |
# present. Only extract it for that port then. |
273 |
.if ${PORTNAME} != "dbussupport" |
245 |
. if ${PORTNAME} != "dbussupport" |
274 |
EXTRACT_AFTER_ARGS+= --exclude "${DISTNAME}/dbus" |
246 |
EXTRACT_AFTER_ARGS+= --exclude "${DISTNAME}/dbus" |
275 |
.endif # ${PORTNAME} != "dbussupport" |
247 |
. endif # ${PORTNAME} != "dbussupport" |
276 |
.if !target(do-configure) |
248 |
. if !target(do-configure) |
277 |
do-configure: |
249 |
do-configure: |
278 |
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ |
250 |
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ |
279 |
${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} |
251 |
${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} |
280 |
.endif # !target(do-configure) |
252 |
. endif # !target(do-configure) |
281 |
.endif # defined(PYQT_DIST) |
253 |
. endif # defined(PYQT_DIST) |
282 |
# Set build, run and test depends -- we need to prefix them internally with "py-" |
254 |
# Set build, run and test depends -- we need to prefix them internally with "py-" |
283 |
# else we conflict with the ones defined in bsd.qt.mk with the same name |
255 |
# else we conflict with the ones defined in bsd.qt.mk with the same name |
284 |
_USE_PYQT_ALL+= ${_USE_PYQT${_PYQT_VERSION}_ONLY} |
256 |
_USE_PYQT_ALL+= ${_USE_SIP_ALL} \ |
285 |
.for comp in ${_USE_PYQT_ALL:O:u} |
257 |
${_USE_QSCINTILLA} |
|
|
258 |
. for comp in ${_USE_PYQT_ALL:O:u} |
286 |
_USE_PYQT_ALL_SUFFIXED+= py-${comp} py-${comp}_build py-${comp}_run py-${comp}_test |
259 |
_USE_PYQT_ALL_SUFFIXED+= py-${comp} py-${comp}_build py-${comp}_run py-${comp}_test |
287 |
py-${comp}_BUILD_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT}@${PY_FLAVOR} |
260 |
py-${comp}_BUILD_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT}@${PY_FLAVOR} |
288 |
py-${comp}_RUN_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT}@${PY_FLAVOR} |
261 |
py-${comp}_RUN_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT}@${PY_FLAVOR} |
Lines 292-308
Link Here
|
292 |
py-${comp}_build_BUILD_DEPENDS?= ${py-${comp}_BUILD_DEPENDS} |
265 |
py-${comp}_build_BUILD_DEPENDS?= ${py-${comp}_BUILD_DEPENDS} |
293 |
py-${comp}_run_RUN_DEPENDS?= ${py-${comp}_RUN_DEPENDS} |
266 |
py-${comp}_run_RUN_DEPENDS?= ${py-${comp}_RUN_DEPENDS} |
294 |
py-${comp}_test_TEST_DEPENDS?= ${py-${comp}_TEST_DEPENDS} |
267 |
py-${comp}_test_TEST_DEPENDS?= ${py-${comp}_TEST_DEPENDS} |
295 |
.endfor |
268 |
. endfor |
296 |
_USE_PYQT= ${USE_PYQT:O:u} |
269 |
_USE_PYQT= ${USE_PYQT:O:u} |
297 |
.for comp in ${_USE_PYQT} |
270 |
. for comp in ${_USE_PYQT} |
298 |
. if ${_USE_PYQT_ALL_SUFFIXED:Mpy-${comp}} |
271 |
. if ${_USE_PYQT_ALL_SUFFIXED:Mpy-${comp}} |
299 |
BUILD_DEPENDS+= ${py-${comp}_BUILD_DEPENDS} |
272 |
BUILD_DEPENDS+= ${py-${comp}_BUILD_DEPENDS} |
300 |
RUN_DEPENDS+= ${py-${comp}_RUN_DEPENDS} |
273 |
RUN_DEPENDS+= ${py-${comp}_RUN_DEPENDS} |
301 |
TEST_DEPENDS+= ${py-${comp}_TEST_DEPENDS} |
274 |
TEST_DEPENDS+= ${py-${comp}_TEST_DEPENDS} |
302 |
. else |
275 |
. else |
303 |
IGNORE?= cannot be installed: unknown USE_PYQT component ${comp} #' |
276 |
IGNORE?= cannot be installed: unknown USE_PYQT component ${comp} #' |
304 |
. endif |
277 |
. endif |
305 |
.endfor |
278 |
. endfor |
306 |
.endif # defined(_INCLUDE_USES_PYQT_MK) |
279 |
.endif # defined(_INCLUDE_USES_PYQT_MK) |