# -*- 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                kgpg
version             4.10.5
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         Control your GPG keys.
long_description    KGpg is a simple interface for GnuPG, a \
                    powerful encryption utility.
platforms           darwin
homepage            http://utils.kde.org/projects/kgpg/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  f8c4f63b731f7170056ae1dd6322521bf11c9491 \
                    sha256  fb8d1b68e40523c92626ceeef5e8f0e47f84d83476910344a615d6e98dac04f4

#Binaries do not link directly to openssl, nor use the ssl backend of kdelibs4,
#nor links to libkimap or libmailtransport from kdepimlibs4
license_noconflict  openssl

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

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

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