# -*- 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                kbruch
version             4.14.3
revision            3
categories          kde kde4
license             GPL-2+
maintainers         nomaintainer
description         Practice Fractions
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  e9d738e56352533d4b55e8a65bfc2a69b8b3fb1e \
                    sha256  9fa0084eb4a06ce16353a37f16c43d2e683c3590c6f01c24f4f0a98831042d4b

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

pre-configure {
    move ${worksrcpath}/VERSION ${worksrcpath}/VERSION.txt
}

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

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