# -*- 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 120216 2014-05-19 16:37:14Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                ksnakeduel
version             4.12.5
categories          kde kde4 games
license             GPL-2+
maintainers         nicos openmaintainer
description         KSnakeDuel is a simple Tron-Clone You can play KSnakeDuel against \
                    the computer or a friend. 
long_description    ${description} The aim of the game is to live longer than \
                    your opponent. To do that, avoid running into a wall, your own \
                    tail and that of your opponent.
platforms           darwin
homepage            http://www.kde.org/applications/games/ksnakeduel/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  0e1a51c7c80003b8b3bfbf2244ab66855fff8898 \
                    sha256  b740ef861d33b3707a69bbcbe385cc55f1e199c67a45f0dacafbe30bf4c9bc8b

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