# -*- 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                kbounce
version             4.12.5
categories          kde kde4 games
license             LGPL-2+
maintainers         nicos openmaintainer
description         KBounce is a single player arcade game with the elements of puzzle. 
long_description    ${description} It is played on a field, surrounded by wall, with \
                    two or more balls that move about in the field bouncing off of \
                    walls. The player can build new walls, decreasing the size of \
                    active field.
platforms           darwin
homepage            http://games.kde.org/game.php?game=kbounce
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  2077dde31ed51c8c00a184cb0b0b4198dd70a21f \
                    sha256  11efbcee87b7d02de9b8b4078d8089b4cc3d854b812fb8271d3d02eb1b00bc51

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