# -*- 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                kfloppy
version             4.12.5
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         Format floppy disks.
long_description    KFloppy is a utility that provides a straightforward \
                    graphical means to format 3.5" and 5.25" floppy disks.
platforms           darwin
homepage            http://utils.kde.org/projects/kfloppy/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  7dd06c2b7315ad41cb109c11fbd6c8fe570bebc6 \
                    sha256  5a7a1076fee12e9d2ff3fbd499898dfe650e383937b751225d07a04f75a44575

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

patchfiles          patch-format.cpp.diff

depends_run-append  port:dcfldd

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+)+)
