summaryrefslogtreecommitdiff
path: root/sysutils/qdirstat/Makefile
blob: 4d402432483146f6e705a9b2e3a2444531bdc818 (plain)
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
29
30
31
32

PORTNAME=	qdirstat
PORTVERSION=	1.7.1
CATEGORIES=	sysutils

MAINTAINER=	kbowling@FreeBSD.org
COMMENT=	Qt utility that sums up disk usage for directory trees

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		compiler:c++11-lang desktop-file-utils gl qmake qt:5 shebangfix
USE_GL=		gl
USE_QT=		buildtools_build core gui widgets

OPTIONS_DEFINE=	DOCS

USE_GITHUB=	yes
GH_ACCOUNT=	shundhammer

SHEBANG_FILES=	scripts/qdirstat-cache-writer

QMAKE_ARGS+=	INSTALL_PREFIX=${PREFIX}

pre-configure:
	${REINPLACE_CMD} -e 's,/share,,g' \
		${WRKSRC}/man/man.pro

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qdirstat

.include <bsd.port.mk>