freebsd-ports/devel/qt5-linguisttools/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

27 lines
609 B
Makefile

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 <bsd.port.mk>