ports/devel/qt5-script/Makefile
Jason E. Hale 501ccfe6dd Qt5: Update to 5.15.16
Update devel/pyside2* and devel/shiboken2 to 5.15.16

Update www/qt5-webengine to include the latest security fixes in
the chromium submodule [1]

Release note:
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.16/release-note.md

MFH:		2024Q4
Security:	16e472d5-a8aa-11ef-b680-4ccc6adda413 [1]
2024-11-23 00:40:00 -05:00

29 lines
820 B
Makefile

PORTNAME= script
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 4-compatible scripting module
USES= compiler:c++11-lang perl5 qmake qt-dist:5,script
USE_PERL5= extract
USE_QT= core buildtools:build
# Keep make(1) from descending into src/script/obj/ (qmake:outsource
# doesn't work).
MAKE_ENV= MAKEOBJDIR=.
# Source version from qt-dist.mk
QT5_VERSION= ${_KDE_script_VERSION}
post-patch:
@${REINPLACE_CMD} -e '/scripttools/ d' \
${WRKSRC}/src/src.pro
# Fix version mismatches for CMake
post-configure:
@${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5Script_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../qt5-core -VQT5_VERSION)"'|' \
${WRKSRC}/lib/cmake/Qt5Script/Qt5ScriptConfig.cmake
.include <bsd.port.mk>