# -*- 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                kapman
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nicos openmaintainer
description         Kapman is a clone of the well known game Pac-Man.
long_description    ${description} You must run through the maze to eat all pills \
                    without being captured by a ghost. By eating an energizer, \
                    Kapman gets the ability to eat ghosts for a few seconds. When a \
                    stage is cleared of pills and energizer the player is taken to \
                    the next stage with slightly increased game speed.
platforms           darwin
homepage            https://www.kde.org/applications/games/kapman/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  6f623016af2bb16c3862206890ae8f6aad5744c4 \
                    sha256  60ca0950e216b8d37659da172d2329dfa0417b4c6594ac39eebb5adb2e6d47b0

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