# -*- 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                kblocks
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
description         KBlocks is the classic falling blocks game. 
long_description    ${description} The idea is to stack the falling blocks to \
                    create horizontal lines without any gaps. When a line is completed \
                    it is removed, and more space is available in the play area. \
                    When there is not enough space for blocks to fall, the game is over.
platforms           darwin
homepage            https://www.kde.org/applications/games/kblocks/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  c207b6d6945f0698fe63f01c273dac81fb8d9973 \
                    sha256  6a198cd60c25e04283ba7072c290982356f3d39a4d88d5b0175fee86e090689a

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