# -*- 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                bomber
version             4.14.3
revision            3
categories          kde kde4 games
license             LGPL-2+
maintainers         {nicos @NicosPavlov} openmaintainer
description         Bomber is a single player arcade game. The player is invading \
                    various cities in a plane that is decreasing in height.
long_description    ${description} The goal of the game is to destroy all the \
                    buildings and advance to the next level. Each level gets a bit \
                    harder by increasing the speed of the plane and the height of \
                    the buildings.
platforms           darwin
homepage            https://www.kde.org/applications/games/bomber/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  8ca6987731603c880bdac37ea113359ae4ac60c2 \
                    sha256  9e0a121206e59a038984242c614283b13f011adb5a9b210d9622426f9db87c25

depends_lib-append  port:kdelibs4 \
                    port:libkdegames

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

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