# -*- 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                ark
version             4.8.2
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  123ef62efa77e449531542581b0987eabbcf6957 \
                    sha256  2c98e1ff77bcc1c116e0da90630fbc93d8445fa0aba627d01bbc44faadf54d85

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

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

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