ports/www/py-qt6-webengine/Makefile
Jason E. Hale ad593a9d4d */*: Add ${PY_SETUPTOOLS} to BUILD_DEPENDS
Fix build when setuptools is removed from RUN_DEPENDS in
Mk/Uses/python.mk.

PR:		270510
Approved by:	portmgr (blanket)
2024-06-29 01:02:34 -04:00

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>