# -*- 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                kdiskfree
version             4.8.2
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         View free disk space.
long_description    KDiskFree displays the available file devices (hard drive \
                    partitions, floppy and CD/DVD drives, etc.) along with information \
                    on their capacity, free space, type and mount point. It also allows \
                    you to mount and unmount drives and view them in a file manager.
platforms           darwin
homepage            http://utils.kde.org/projects/kdf/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            kdf-${version}
checksums           rmd160  52a770833ef7f3e0f4fda72de9dd464b07c9bc85 \
                    sha256  0867cb537c6a89689ce88095a7eda8527fddaf8ee514393f2097638368b8f734

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

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

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