# -*- 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                kblackbox
version             4.14.3
revision            4
categories          kde kde4 games
license             GPL-2+
maintainers         {nicos @NicosPavlov} openmaintainer
description         KBlackbox is a game of hide and seek played on a grid of \
                    boxes where the computer has hidden several balls.
long_description    ${description}
platforms           darwin
homepage            http://games.kde.org/game.php?game=kblackbox
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  dafd3592732ab060042152828c6a831419cbd145 \
                    sha256  bffe00bfc0b9437e97976681f817032787558466e72af6c934b0a742e3198cee

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

depends_lib-append  port:kdelibs4 \
                    port:libkdegames

patchfiles-append   patch-CMakeLists-icons.diff

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

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