# -*- 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                ark
version             4.12.5
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         Handle file archives
long_description    Ark is a program for managing various archive formats \
                    within the KDE environment.
platforms           darwin
homepage            http://utils.kde.org/projects/ark/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  6c14848a9fb5ec92e9c89da63374c0813dadc1f2 \
                    sha256  188d4a3950d334971b65eda83453cd14f54242f379fe433d39d72a1cabe7ec89

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

depends_lib-append  port:kdelibs4 \
                    port:oxygen-icons \
                    port:libarchive \
                    port:zlib \
                    port:bzip2 \
                    port:qjson

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

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