# -*- 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                granatier
version             4.14.3
revision            3
categories          kde kde4 games
license             LGPL-2+ GPL-2+
maintainers         nomaintainer
description         Granatier is a clone of the classic Bomberman game, inspired by \
                    the work of the Clanbomber clone.
long_description    ${description}
platforms           darwin
homepage            https://www.kde.org/applications/games/granatier/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  3dea40a81f8981f2543d55bfcb74c20d829f70e6 \
                    sha256  92b63bd577e16a8494e65a040af5af33314acc2d2b8a4d4a6663bc07b73dda21

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