# -*- 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                kdeutils4
version             4.14.3
categories          kde kde4
license             Permissive
maintainers         nomaintainer
supported_archs     noarch

description         Useful utilities provided by KDE4 - Meta package.
long_description    Useful utilities like an archiving tool and a calculator. \
                    This is a meta-port containing the components of the former \
                    kdeutils package
platforms           any
homepage            https://www.kde.org

distfiles
use_configure       no
extract {           file mkdir ${worksrcpath}/${name} }
build               {}

depends_lib-append  port:ark \
                    port:kde4-filelight \
                    port:kcalc \
                    port:kcharselect \
                    port:kdiskfree \
                    port:kgpg \
                    port:ktimer \
                    port:kwallet \
                    port:sweeper \
                    port:kfloppy
#                   port:kremotecontrol
#                   port:ksecrets
#                   port:superkaramba
#                   port:printer-applet

destroot {
    # Create a dummy file so the port can be successfully activated
    xinstall -d ${destroot}${prefix}/share/doc/kdeutils4
    set docfile [open ${destroot}${prefix}/share/doc/kdeutils4/README.${name}.txt "w"]
    puts $docfile "Meta-port for kdeutils4\n"
    puts $docfile "${long_description}\n"
    close $docfile
}

livecheck.type      none
