# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 91779 2012-04-10 14:17:51Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kde4-filelight
version             4.8.2
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         Understand usage of disk space.
long_description    Filelight allows you to quickly understand exactly \
                    where your diskspace is being used by graphically \
                    representing your file system as a set of concentric \
                    segmented-rings. 
platforms           darwin
homepage            http://utils.kde.org/projects/filelight/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            filelight-${version}
checksums           rmd160  5f50de0f4f927da292e186095a8d1bbf3376bef8 \
                    sha256  dca7cead33408bad0d12054a8c47d34c85246b2d4ed027e69bb7440613f22a64

patchfiles          fix-filelight-mounts.diff \
                    fix-filelight-cache.diff

depends_lib-append  port:kdelibs4 \
                    port:oxygen-icons

if {![variant_isset doc]} {
    patchfiles-append       patch-CMakeLists.txt.diff
}

livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src
livecheck.regex     filelight-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
