mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Fix build when setuptools is removed from RUN_DEPENDS in Mk/Uses/python.mk. PR: 270510 Approved by: portmgr (blanket)
32 lines
840 B
Makefile
32 lines
840 B
Makefile
PORTNAME= webengine
|
|
DISTVERSION= ${PYQTWEBENGINE_VERSION}
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= ${MASTER_SITES_PYQTWEBENGINE}
|
|
PKGNAMEPREFIX= ${PYQT_PY_RELNAME}-
|
|
DISTNAME= ${PYQTWEBENGINE_DISTNAME}
|
|
|
|
PYQT_DIST= yes
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Python bindings for the Qt6 toolkit, QtWebEngine module
|
|
WWW= https://riverbankcomputing.com/software/pyqt
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS}
|
|
|
|
USES= gl python pyqt:6 qt:6
|
|
USE_GL= opengl
|
|
USE_PYQT= sip:build pyqt6
|
|
USE_PYTHON= concurrent flavors
|
|
USE_QT= base declarative positioning webchannel webengine
|
|
|
|
PLIST_SUB= PYQT_WEBENGINE_VERSION=${DISTVERSION}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%QT_INCDIR%%|${QT_INCDIR}|g' \
|
|
${WRKSRC}/pyproject.toml
|
|
|
|
post-install:
|
|
@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6 \
|
|
-name '*.so*' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|