# -*- 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                kalzium
version             4.14.3
revision            3
categories          kde kde4 chemistry
license             GPL-2+ LGPL-2+
maintainers         {nicos @NicosPavlov}
description         Periodic Table of Elements
long_description    KDE ${description}
homepage            https://www.kde.org

platforms           darwin
master_sites        kde:stable/${version}/src/
use_xz              yes

checksums           rmd160  79c3d78183b71829835b8b623a44152ee84e85fe \
                    sha256  4b8d086c942874c56b4835079991f2d86289d163d2dbb3e86390270c758317e5

depends_lib-append  port:eigen port:openbabel \
                    port:libkdeedu port:ocaml

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

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

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