# -*- 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                kshisen
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
description         KShisen is a solitaire-like game played using the standard set \
                    of Mahjong tiles. 
long_description    ${description} Unlike Mahjong however, KShisen has only one \
                    layer of scrambled tiles.
platforms           darwin
homepage            http://games.kde.org/game.php?game=kshisen
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  1670e07287baf366b9af3e91395bcd1fa433a976 \
                    sha256  08d22e819e961cc395ec7c6fdb5065b6dfa111f86bbf0610db5efc4f16ae3145

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

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

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

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