aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/qt5-qtdiag/Makefile
blob: a43ed488648ce5df5e37ccbb9a8fdcf511a9eaac (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
# $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
USE_QT5=    core gui
QT_DIST=    tools

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>