# -*- 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                ksirk
version             4.14.3
revision            4
categories          kde kde4 games
license             GPL-2+ LGPL-2.1+ MIT
maintainers         {nicos @NicosPavlov} openmaintainer
description         KsirK is a computerized version of a well known strategy board game. 
long_description    ${description} KsirK is a multi-player network-playable game with \
                    an AI. The goal of the game is simply to conquer the World... It \
                    is done by attacking your neighbours with your armies.
platforms           darwin
homepage            http://games.kde.org/game.php?game=ksirk
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  13d33b067d692e8311ff7b1ec10457889c4d751b \
                    sha256  9afe5d0086bd2c757b249d6739d59f48f7367fd7ae9536f46c781bf45cf9dad2

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

depends_lib-append  port:kdelibs4 \
                    port:libkdegames \
                    port:qca

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

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