# $FreeBSD: head/devel/qt5-linguisttools/Makefile 531601 2020-04-13 12:35:58Z tcberner $ PORTNAME= linguisttools DISTVERSION= ${QT5_VERSION} CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt localization tools USES= compiler:c++11-lang qmake qt-dist:5,tools USE_QT= core xml buildtools_build declarative_build BUILD_WRKSRC= ${WRKSRC}/src/linguist INSTALL_WRKSRC= ${WRKSRC}/src/linguist QT_BINARIES= yes 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