# -*- 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                kgpg
version             4.12.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  0176217b8ac879f4d2f1fb054bb5ef60bdb14df8 \
                    sha256  cacf9fdc39443c2d46cd1cc0253d19fee51aca1cf77269c2b837b79fd3d32537

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