# -*- 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

PortSystem          1.0
PortGroup           kde4   1.1

name                kolf
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+ LGPL-2+ MIT
maintainers         {nicos @NicosPavlov} openmaintainer
description         Kolf is a miniature golf game with 2d top-down view. 
long_description    ${description} Courses are dynamic, and up to 10 people can \
                    play at once in competition. Kolf comes equipped with a variety \
                    of playgrounds and tutorial courses.
platforms           darwin
homepage            http://games.kde.org/game.php?game=kolf
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  589cdaffc4d498f68e93008b94a7ef2fbfb82281 \
                    sha256  f840626c54e2614d9aebbdb13d816abbef474d18e626a65f96ab14cb713cd000

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

depends_lib-append  port:kdelibs4 \
                    port:libkdegames

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

livecheck.url       ${kde4.mirror}
livecheck.regex     (\\d+(\\.\\d+)+)