# -*- 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                konquest
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
description         Konquest is the KDE version of Gnu-Lactic Konquest. 
long_description    ${description} Players conquer other planets by sending ships \
                    to them. The goal is to build an interstellar empire and \
                    ultimately conquer all other player's planets.
platforms           darwin
homepage            http://games.kde.org/game.php?game=konquest
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  11ff057d938725665460481fcd81242d3fc619f9 \
                    sha256  08153a7e28e207469b089fb2128b4ab7dfc1e1071b5b9afd3afe1c08808fac88

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