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
25 lines
686 B
Makefile
25 lines
686 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qtdiag
|
|
DISTVERSION= ${QT5_VERSION}
|
|
CATEGORIES= sysutils
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Tool for reporting diagnostic information about Qt and its environment
|
|
|
|
USES= qmake:outsource qt-dist:5,tools
|
|
USE_QT= core gui
|
|
|
|
PLIST_FILES= ${QT_BINDIR}/qtdiag
|
|
|
|
# Similarly to x11/qt5-qev, it makes more sense to just run the build system
|
|
# from the qtdiag directory. If we run it from the top of the source tree, it
|
|
# will look for a lot more dependencies for other tools such as lupdate, which
|
|
# we do not really have to depend on.
|
|
WRKSRC_SUBDIR= src/${PORTNAME}
|
|
|
|
post-patch:
|
|
${CP} ${WRKSRC}/../../.qmake.conf ${WRKSRC}
|
|
|
|
.include <bsd.port.mk>
|