# -*- 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                kgoldrunner
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
description         KGoldrunner is a maze-threading game with a puzzle flavor. 
long_description    ${description} It has hundreds of levels where pieces of gold \
                    must be collected, with enemies in hot pursuit.
platforms           darwin
homepage            http://games.kde.org/game.php?game=kgoldrunner
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  83ba7e6546519cfc4b5ed783f8d99349de06a9bd \
                    sha256  59fd7b90013cb89261a759275903960cda067fe3c25175a97c3eb640391c89d5

#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+)+)
