# -*- 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                katomic
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
description         Katomic is both fun and educational game built around \
                    molecular geometry. 
long_description    ${description} It employs simplistic two-dimensional looks at \
                    different chemical elements. You can also play an online demo \
                    version of this game.
platforms           darwin
homepage            http://games.kde.org/game.php?game=katomic
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  8812eab625a1124b3d0fbae12df000ae3bb5a13d \
                    sha256  06f34d46c29c902998875cf30d7fe158501da9b1578e2db6e34257c6dd077ec8

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