# -*- 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 90683 2012-03-12 11:35:04Z snc@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kdeutils4
version             4.8.1
categories          kde kde4
maintainers         snc sharky nicos
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           darwin
homepage            http://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
