df8d1d1b87
lupdate needs QmlDevTools; if the dependency is not present, an update might try to use an older qt5-qml version and fail. No PORTREVISION bump necessary: the generated package does not change, and if the port built successfully it means the right qt5-qml version was used. PR: 207098
28 lines
575 B
Makefile
28 lines
575 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= linguisttools
|
|
DISTVERSION= ${QT5_VERSION}
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt localization tools
|
|
|
|
USE_QT5= core xml buildtools_build qml_build
|
|
QT_DIST= tools
|
|
USES= qmake
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src/linguist
|
|
INSTALL_WRKSRC= ${WRKSRC}/src/linguist
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/SUBDIRS.*linguist/ d' \
|
|
${WRKSRC}/src/linguist/linguist.pro
|
|
|
|
post-install:
|
|
.for f in lrelease lupdate
|
|
${INSTALL_MAN} ${WRKSRC}/src/linguist/${f}/${f}.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|