# -*- 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                ktimer
version             4.12.5
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         Execute programs after some time.
long_description    KTimer is a little tool to execute programs \
                    after some time.
platforms           darwin
homepage            http://utils.kde.org/projects/ktimer/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  8f94c3fbc59184760998bcee569a1e2715882406 \
                    sha256  37fc8cb003f5e107f363645ff2aadc1cf002905000c886cf0b6ca77bfe4d56a5

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

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

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

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