1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/sysutils/kdirstat/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
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
2018-06-28 17:39:53 +00:00

37 lines
963 B
Makefile

# Created by: Stefan Jahn <stefan.jahn@nemesis-sektor.de>
# $FreeBSD$
PORTNAME= kdirstat
PORTVERSION= 2.7.8
PORTREVISION= 3
CATEGORIES= sysutils kde
MASTER_SITES= https://bitbucket.org/jeromerobert/k4dirstat/get/
DISTNAME= k4dirstat-${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= KDE utility that sums up disk usage for directory trees
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/jeromerobert-k4dirstat-3a4663ee20e7
USES= cmake cpe gettext-tools kde:4 qt:4 tar:bzip2
CPE_VENDOR= kdirstat_project
USE_KDE= automoc4 kdelibs libkonq
USE_QT= corelib dbus gui network qt3support svg xml \
moc_build qmake_build rcc_build uic_build
post-patch:
@${REINPLACE_CMD} -e \
'/^Categories/s|=.*|=Qt;KDE;Utility;|' \
${WRKSRC}/src/k4dirstat.desktop
@${REINPLACE_CMD} -e \
's|<sys/errno.h>|<errno.h>|' \
${WRKSRC}/src/kdirreadjob.cpp
post-install:
@${LN} -sf k4dirstat ${STAGEDIR}${PREFIX}/bin/kdirstat
.include <bsd.port.mk>