aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qt5-linguisttools/Makefile
blob: 9a4d7248e80c50e12b34e5a9b7c1ab2b6c7006f9 (plain) (blame)
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
# $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>