# -*- 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                marble
version             4.8.2
categories          kde kde4
maintainers         snc sharky michaelld
license             LGPL-2.1+ GFDL-1.2
description         Virtual Globe
long_description    KDE virtual globe and world atlas
homepage            http://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu

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

checksums           rmd160  08785d2805706c25dd928c0e84d0f728ae2ba185 \
                    sha256  f65fbcb04e02017d81f6db040ef8e0309083f35f844daa9b3abff92611eccd8e

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

configure.args-append   -DCMAKE_MODULES_INSTALL_PATH=${cmake_share_module_dir}

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