# -*- 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 120209 2014-05-19 16:18:07Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kde4-filelight
version             4.12.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  3dba3d21d6ef96c3abde9c6fc1d551c09bbe1062 \
                    sha256  f6b51fe51d7579a5a839338a6d760a8afc050d37533dc3a5e11837a74c580101

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

patchfiles-append   fix-filelight-mounts.diff \
                    patch-src-part-progressBox.cpp.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+)+)
