# -*- 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                kwallet
version             4.8.2
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         Manage your passwords on KDE.
long_description    KDE Wallet Manager is a tool to manage the \
                    passwords on your KDE system.
platforms           darwin
homepage            http://utils.kde.org/projects/kwalletmanager/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  cf625ef32db8161ea2f86000e18949e6b38d1d96 \
                    sha256  b4008c8d7f42d0c2bd9758e5d34517e49d9846e8fc394521d86713812ecdf3dc

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

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}
