# -*- 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

PortSystem          1.0
PortGroup           kde4   1.1

name                kde4-filelight
version             4.14.3
revision            3
categories          kde kde4
license             GPL-2+
maintainers         {nicos @NicosPavlov} 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  76f7cad7bfe2a0456367d4cba20dd25242cae333 \
                    sha256  81d59038b6d748bb874ece861943e6cf0576ebde0c48ee953214d5ddbe09f79a

#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       ${kde4.mirror}
livecheck.regex     (\\d+(\\.\\d+)+)