# -*- 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 88219 2011-12-22 06:46:26Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           cmake 1.0

name                polkit-qt
version             0.103.0
categories          kde kde4 security
maintainers         nomaintainer
description         Qt PolicyKit wrapper
long_description    ${description}
platforms           darwin
homepage            http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html/
master_sites        kde:stable/apps/KDE4.x/admin/
distname            ${name}-1-${version}
use_bzip2           yes

checksums           rmd160  6f25a409d3273396a67d0ebfe1437a9976963f8a \
                    sha256  2e32566b8e3d0fd7cf619497089763303c3dc08b7e5a666b2369720fced2274c

depends_build-append port:automoc \
                    port:pkgconfig

depends_lib         port:policykit \
                    port:qt4-mac

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     "Qt PolicyKit wrapper</h1><h3>(\\d+(?:\\.\\d+)*)"
