# -*- 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                kgeography
version             4.14.3
revision            3
categories          kde kde4
maintainers         nicos
license             GPL-2+ GFDL-1.2
description         Geography Trainer
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  a6782f304668e53915108e1605d4e0b95c0ca719 \
                    sha256  44b26e6f08a53b946d3884dbd08486eaed33051f202959bd1901ae19ba38a788

#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       ${kde4.mirror}
livecheck.regex     (\\d+(\\.\\d+)+)
