# -*- 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 108196 2013-07-15 21:44:48Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kalzium
version             4.10.5
categories          kde kde4 chemistry
license             GPL-2+ LGPL-2+
maintainers         sharky nicos
description         Periodic Table of Elements
long_description    KDE ${description}
homepage            http://www.kde.org

platforms           darwin
depends_lib-append  port:eigen port:libkdeedu port:openbabel port:ocaml

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

checksums           rmd160  c3c21fc048cd1643951a3ee00e65ab226d8c415f \
                    sha256  b673fb965a418ff93f55931c6ec81fb3c43b4fcb2b2fa5c42b75b81fc204f789

#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       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
