View | Details | Raw Unified | Return to bug 262558
Collapse All | Expand All

(-)devel/pyside2-tools/Makefile (-4 / +13 lines)
Lines 30-41 SHEBANG_FILES= pyside_tool.py Link Here
30
30
31
CMAKE_ARGS+=	"-DUSE_PYTHON_VERSION=${PYTHON_VER}"
31
CMAKE_ARGS+=	"-DUSE_PYTHON_VERSION=${PYTHON_VER}"
32
32
33
.include <bsd.port.pre.mk>
34
35
WRKSRC=		${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/pyside2-tools
33
WRKSRC=		${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/pyside2-tools
36
34
37
.if ${ARCH} == amd64 || ${ARCH} == i386
35
OPTIONS_DEFINE_i386=	WEBENGINE
36
OPTIONS_DEFINE_amd64=	WEBENGINE
37
OPTIONS_DEFAULT_i386=	WEBENGINE
38
OPTIONS_DEFAULT_amd64=	WEBENGINE
39
40
WEBENGINE_DESC=	Enable QtWebEngine support
41
42
.include <bsd.port.options.mk>
43
44
.if ${PORT_OPTIONS:MWEBENGINE}
38
USE_QT+=	webengine
45
USE_QT+=	webengine
46
.else
47
CMAKE_ARGS+=	-DDISABLE_QtWebEngine:BOOL=TRUE
39
.endif
48
.endif
40
49
41
.include <bsd.port.post.mk>
50
.include <bsd.port.mk>
(-)devel/pyside2/Makefile (-3 / +11 lines)
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>

Return to bug 262558