# -*- 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                kalgebra
version             4.14.3
revision            3
categories          kde kde4
maintainers         nomaintainer
license             GPL-2+
description         2D and 3D Graph Calculator
long_description    KDE ${description}
homepage            https://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu port:analitza

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

checksums           rmd160  e14b95accf963424271abaaff6938fae3973109f \
                    sha256  3a9b9fe63c8d1b6d9326d098254e5e4a32bb48f3b4514fb055e0896aebbdf67d

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