# -*- 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 120216 2014-05-19 16:37:14Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kigo
version             4.12.5
categories          kde kde4 games
license             {GPL-2 GPL-3}
maintainers         nicos openmaintainer
description         Kigo is an open-source implementation of the popular Go game. 
long_description    ${description} Go is a strategic board game for two players. The \
                    game is played by two players who alternately place black and \
                    white stones on the vacant intersections of a grid of 19x19 lines \
                    (9x9 or 13x13 for easier games).
platforms           darwin
homepage            http://www.kde.org/applications/games/kigo/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  f9d52a49c4465af7ef6a8225ebbb51420a535384 \
                    sha256  71bb0bf7c299812ea2c34e5a254f5555d908505a8c9ada83690200cd2e02cf8b

#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       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
