# -*- 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                kmplot
version             4.14.3
revision            3
categories          kde kde4
maintainers         nomaintainer
license             GPL-2+ GFDL-1.2
description         Mathematical Function Plotter
long_description    KDE ${description}
homepage            https://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu

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

checksums           rmd160  b7c4a8235138897a99e4289c7da7230f1aacb48a \
                    sha256  06ad930e91e8458d62817ee8295d1deb81a8096452e6826e8bce35abe08b52f5

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

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

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