# -*- 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 107850 2013-07-07 08:16:46Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                cantor
version             4.10.5
categories          kde kde4
license             GPL-2+
maintainers         sharky nicos
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  4f1c32c827b5fae92e640baafc3dd145f95026d0 \
                    sha256  a63b2923c5b811473978e6d8c111d1fc150cb054a15d8a4c99f3f4d31ba10a1c

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

patchfiles          patch-deactivateBackends.diff

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

livecheck.url       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
