# -*- 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                kdiskfree
version             4.10.5
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  0f31e800090be0f8e06b21b2560ec03ca3c2d834 \
                    sha256  503c4a1b56eef415b75faf80f5f5823092a13925048c94f92e48c019af2c7134

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

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

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

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