b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
28 lines
737 B
Makefile
28 lines
737 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= linguist
|
|
DISTVERSION= ${QT5_VERSION}
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt 5 translation tool
|
|
|
|
USE_QT= core gui printsupport widgets xml \
|
|
assistant_run linguisttools_run \
|
|
buildtools_build designer_build uitools_build
|
|
USES= qmake qt-dist:5,tools
|
|
|
|
DESKTOP_ENTRIES="Qt 5 Linguist" "" \
|
|
"${PREFIX}/share/pixmaps/linguist-qt5.png" \
|
|
"${PREFIX}/${QT_BINDIR_REL}/linguist" \
|
|
"Development;Qt;" true
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}/${PORTNAME}
|
|
INSTALL_WRKSRC= ${WRKSRC}/src/${PORTNAME}/${PORTNAME}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${BUILD_WRKSRC}/images/icons/linguist-128-32.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/linguist-qt5.png
|
|
|
|
.include <bsd.port.mk>
|