# -*- 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                ktuberling
version             4.12.5
categories          kde kde4 games
license             GPL-2+
maintainers         nicos openmaintainer
description         KTuberling a simple constructor game suitable for children \
                    and adults alike. 
long_description    ${description} The idea of the game is based around a once \
                    popular doll making concept.
platforms           darwin
homepage            http://games.kde.org/game.php?game=ktuberling
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  6b20ef60ffbaffe968145b4cc892da9fbf75a1d1 \
                    sha256  1314ac092ebeec7e76be1b796af7f6f06f55fc38d8465844259141e9d07bcdc6

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