# -*- 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                kcalc
version             4.14.3
revision            3
categories          kde kde4
license             GPL-2+
maintainers         nomaintainer
description         Do scientific calculations.
long_description    KCalc is a calculator which offers many more \
                    mathematical functions than meet the eye on a \
                    first glance.
platforms           darwin
homepage            http://utils.kde.org/projects/kcalc/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  81822b452042f23e85216ad3e662e797050e0592 \
                    sha256  9f072c3e97d3ad467b069a423c2759bc4bc2195443aebe8ca26b19f58044fd0e

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

depends_lib-append  port:kdelibs4 \
                    port:oxygen-icons \
                    port:gmp

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

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