# -*- 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 91749 2012-04-09 16:35:34Z snc@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                cantor
version             4.8.2
categories          kde kde4
license             GPL-2
maintainers         snc sharky michaelld
description         Frontend to Mathematical Software
long_description    KDE ${description}
homepage            http://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu port:analitza port:libqalculate

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

checksums           rmd160  9b14a5da0d3203dd82fcd2d10413bcb5030abeec \
                    sha256  a33335e77fb01921feb7b42864d269e2cf9d84f52dd0859a8c2086fff1a221b6

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

configure.args-append   WITH_LibSpectre=OFF \
                        WITH_R=OFF

livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
livecheck.regex     ${name}-(\\d+(\\.\\d+)+)
