# -*- 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
# $Id: Portfile 107854 2013-07-07 13:08:30Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                bomber
version             4.10.5
categories          kde kde4 games
license             LGPL-2+
maintainers         nicos 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            http://www.kde.org/applications/games/bomber/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  dfe32a2bf9233ad53c0bf7d0ef6541c0a862d0ea \
                    sha256  bdeebad49394e5c07e69d24645e281dad9265a8f9bc5cb9a3c3ad0773f24e07c

depends_lib-append  port:kdelibs4 \
                    port:libkdegames

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

livecheck.url       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
