# -*- 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                kdewebdev
version             4.14.3
revision            3
categories          kde kde4
maintainers         nomaintainer
license             GPL-2+ LGPL-2+ GFDL-1.2
description         WEB Development package for the K Desktop Environment.

long_description    KDE ${description}
homepage            https://www.kde.org

platforms           darwin

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

checksums           rmd160  d1c3efe3f171d95e454a49868329e7a823e98c84 \
                    sha256  f6b120a5ce5d19de8fc22e19d3163fb63dfbea719dcaa2c8d7795913c5599469

depends_lib-append  port:kdelibs4 \
                    port:kdepimlibs4 \
                    port:ruby

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

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

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