# -*- 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                ksudoku
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
description         KSudoku is a logic-based symbol placement puzzle. 
long_description    ${description} The player has to fill a grid so that each \
                    column, row as well as each square block on the game field \
                    contains only one instance of each symbol.
platforms           darwin
homepage            http://games.kde.org/game.php?game=ksudoku
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  c1d04b6f5fe6ff7cd4d665ed112948c7701016e0 \
                    sha256  ebd51cbd16052f4a57e28a180d19890f3869ca279b9fb1f7301672b5dce9f261

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