# -*- 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                kpat
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+ MIT
maintainers         nomaintainer
description         KPat (aka KPatience) is a relaxing card sorting game. 
long_description    ${description} To win the game a player has to arrange a \
                    single deck of cards in certain order amongst each other.
platforms           darwin
homepage            http://games.kde.org/game.php?game=kpat
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  10750532a9e73c882d1f7146f331bbf056901be5 \
                    sha256  b42688d906ebeea56ecf4d67e0fb8e550246fbb8867ad4eaa3d4e5aaf884db4d

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