Lines 28-45
USE_QT= 3d buildtools_build charts concurrent core datavis3d declarative \
Link Here
|
28 |
CMAKE_ARGS+= "-DUSE_PYTHON_VERSION=${PYTHON_VER}" \ |
28 |
CMAKE_ARGS+= "-DUSE_PYTHON_VERSION=${PYTHON_VER}" \ |
29 |
"-DPYTHON_EXECUTABLE=${PYTHON_CMD}" |
29 |
"-DPYTHON_EXECUTABLE=${PYTHON_CMD}" |
30 |
|
30 |
|
31 |
.include <bsd.port.pre.mk> |
31 |
OPTIONS_DEFINE_i386= WEBENGINE |
|
|
32 |
OPTIONS_DEFINE_amd64= WEBENGINE |
33 |
OPTIONS_DEFAULT_i386= WEBENGINE |
34 |
OPTIONS_DEFAULT_amd64= WEBENGINE |
35 |
|
36 |
WEBENGINE_DESC= Enable QtWebEngine support |
32 |
|
37 |
|
33 |
PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER} |
38 |
PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER} |
34 |
PLIST_SUB+= DISTVERSION=${DISTVERSION} |
39 |
PLIST_SUB+= DISTVERSION=${DISTVERSION} |
35 |
|
40 |
|
36 |
WRKSRC= ${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/pyside2 |
41 |
WRKSRC= ${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/pyside2 |
37 |
|
42 |
|
38 |
.if ${ARCH} == amd64 || ${ARCH} == i386 |
43 |
.include <bsd.port.options.mk> |
|
|
44 |
|
45 |
.if ${PORT_OPTIONS:MWEBENGINE} |
39 |
PLIST_SUB+= WEBENGINE="" |
46 |
PLIST_SUB+= WEBENGINE="" |
40 |
USE_QT+= webengine |
47 |
USE_QT+= webengine |
41 |
.else |
48 |
.else |
42 |
PLIST_SUB+= WEBENGINE="@comment " |
49 |
PLIST_SUB+= WEBENGINE="@comment " |
|
|
50 |
CMAKE_ARGS+= -DDISABLE_QtWebEngine:BOOL=TRUE |
43 |
.endif |
51 |
.endif |
44 |
|
52 |
|
45 |
post-install: |
53 |
post-install: |
Lines 50-53
post-install:
Link Here
|
50 |
-f -d ${PYTHONPREFIX_SITELIBDIR} \ |
58 |
-f -d ${PYTHONPREFIX_SITELIBDIR} \ |
51 |
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} |
59 |
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} |
52 |
|
60 |
|
53 |
.include <bsd.port.post.mk> |
61 |
.include <bsd.port.mk> |