# Created by: Stefan Jahn # $FreeBSD: head/sysutils/kdirstat/Makefile 406108 2016-01-14 11:47:39Z danilo $ PORTNAME= kdirstat PORTVERSION= 2.7.8 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 desktop-file-utils gettext-tools tar:bzip2 CPE_VENDOR= kdirstat_project USE_KDE4= automoc4 kdelibs kdeprefix libkonq USE_QT4= moc_build qmake_build rcc_build uic_build INSTALLS_ICONS= yes post-patch: @${REINPLACE_CMD} -e \ '/^Categories/s|=.*|=Qt;KDE;Utility;|' \ ${WRKSRC}/src/k4dirstat.desktop @${REINPLACE_CMD} -e \ 's|||' \ ${WRKSRC}/src/kdirreadjob.cpp post-install: @${LN} -sf k4dirstat ${STAGEDIR}${PREFIX}/bin/kdirstat .include