# -*- 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 107848 2013-07-07 06:29:48Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kde4-filelight
version             4.10.5
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  f2734bdcbdde5bef3ede88f0c056f8fb1aa823d9 \
                    sha256  aeab9aa76e2794452a61458aff1cef8482b8214770681ff4643b861c5122cdf1

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

patchfiles-append   fix-filelight-mounts.diff

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

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

livecheck.url       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
