ports/devel/qt5-scripttools/Makefile
Jason E. Hale cc183d8a8d devel/qt5-scripttools: Restore PORTREVISION
I forgot to update this port in c0294e30df where PORTVERSION was
increased in Mk/Uses/qt.mk, but distinfo was not updated and the old
PORTREVISION was not removed, but it had unfortunately already been
indexed by the chkversion.pl script with the old PORTREVISION in tow
before I fixed it in 886b4294b7. The port was broken before this
and no packages would have been created. This is just to squash the
nag emails to the kde@ list.

MFH:		2024Q4
2024-11-03 01:34:04 -05:00

28 lines
805 B
Makefile

PORTNAME= scripttools
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt Script additional components
USES= compiler:c++11-lang perl5 qmake qt-dist:5,script
USE_PERL5= build
USE_QT= core gui script widgets buildtools:build
BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}
INSTALL_WRKSRC= ${WRKSRC}/src/${PORTNAME}
# Source version from qt-dist.mk
QT5_VERSION= ${_KDE_script_VERSION}
# Link in QtScript port
_QT5_ADDITIONAL_LINK= script
# Fix version mismatches for CMake
post-configure:
@${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5ScriptTools_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../qt5-core -VQT5_VERSION)"'|' \
${WRKSRC}/lib/cmake/Qt5ScriptTools/Qt5ScriptToolsConfig.cmake
.include <bsd.port.mk>