# -*- 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 120233 2014-05-20 00:45:44Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kmplot
version             4.12.5
categories          kde kde4
maintainers         nicos
license             GPL-2+ GFDL-1.2
description         Mathematical Function Plotter
long_description    KDE ${description}
homepage            http://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu

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

checksums           rmd160  e02890d7a2acda2bfb0835672de704694c76b6d3 \
                    sha256  3ba614e22bf88989fd0647bd9d1759bbdc2ea6c405d881a7ac0a932233d5d5f3

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