# -*- 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 120216 2014-05-19 16:37:14Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kolf
version             4.12.5
categories          kde kde4 games
license             GPL-2+ LGPL-2+ MIT
maintainers         nicos 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  2690d764b2da0d0f3276f28d213464237ee065ba \
                    sha256  ec43af242cb9ac6f711d706983791094faaa09ca60c1b0eaf27a8a6e5918ba17

#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       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
