mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
4cd1e8830e
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports. Trivial update from 5.2.0-beta1 to 5.2.1 by me. Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for Qt-5.2.0 update. Approved by: portmgr (bapt) (for Mk/bsd.port.mk)
35 lines
764 B
Makefile
35 lines
764 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= linguisttools
|
|
DISTVERSION= ${QT5_VERSION}
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt localization tools
|
|
|
|
USE_QT5= core qmldevtools_build xml buildtools_build
|
|
QT_DIST= tools
|
|
USES= qmake
|
|
|
|
WRKSRC_SUBDIR= src/linguist
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/SUBDIRS.*linguist/ d' \
|
|
${WRKSRC}/linguist.pro
|
|
|
|
pre-configure:
|
|
# Generate qt_lib_uitools.pri to fix CMake files creation.
|
|
@${REINPLACE_CMD} -e '/QT.*widgets/ d' \
|
|
${WRKSRC:H}/designer/src/lib/uilib/uilib.pri
|
|
@cd ${WRKSRC:H}/designer/src/uitools && \
|
|
${SETENV} ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
|
|
|
|
post-install:
|
|
.for f in lrelease lupdate
|
|
${INSTALL_MAN} ${WRKSRC}/${f}/${f}.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|