# -*- 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                kreversi
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         {nicos @NicosPavlov} openmaintainer
description         KReversi is a simple one player strategy game played against \
                    the computer. 
long_description    ${description} If a player's piece is captured by an opposing \
                    player, that piece is turned over to reveal the color of that \
                    player. A winner is declared when one player has more pieces of \
                    his own color on the board and there are no more possible moves.
platforms           darwin
homepage            http://games.kde.org/game.php?game=kreversi
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  3188e5b6c91b63c566e413886ed355565548f623 \
                    sha256  ef4982a0dbe802db7b930fffebc00bf4d0495f5749bfd7d957f28e1af7e052de

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