# -*- 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                ksnakeduel
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
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            https://www.kde.org/applications/games/ksnakeduel/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  20fa7eaae26350e7d4f14a9f71bfb6926cc00ab5 \
                    sha256  a0cfd6502c19ab83eb9248c1f9cb15f42e006f6df0bfafd45891cb3c1eef411c

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