# -*- 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 107854 2013-07-07 13:08:30Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                klines
version             4.10.5
categories          kde kde4 games
license             GPL-2+
maintainers         nicos openmaintainer
description         KLines is a simple but highly addictive, one player game for KDE. 
long_description    ${description}
platforms           darwin
homepage            http://games.kde.org/game.php?game=klines
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  2fc4c84f0b8f976a58e22c987b0461124dff77db \
                    sha256  10ceb1f55f49292e8d69c03716cf0865bd7da67eb9a276b60df304cf7bb80b7d

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