blob: 6d28653063819a3ac29aa28efa10a7411c667fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PORTNAME= linguisttools
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
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
${RLN} ${STAGEDIR}${QT_BINDIR}/${f} ${STAGEDIR}${PREFIX}/bin/${f}-qt5
.endfor
.include <bsd.port.mk>
|