# -*- 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                kdegames4
version             4.14.3
categories          kde kde4 games
maintainers         {nicos @NicosPavlov}
license             Permissive
description         A variety of games made with the KDE4 development platform
long_description    ${description}
platforms           darwin
homepage            https://www.kde.org

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

depends_lib-append  port:bomber \
                    port:bovo \
                    port:granatier \
                    port:kapman \
                    port:katomic \
                    port:kblackbox \
                    port:kblocks \
                    port:kbounce \
                    port:kbreakout \
                    port:kdiamond \
                    port:kfourinline \
                    port:kgoldrunner \
                    port:kigo \
                    port:killbots \
                    port:kiriki \
                    port:kjumpingcube \
                    port:klickety \
                    port:klines \
                    port:kmahjongg \
                    port:kmines \
                    port:knavalbattle \
                    port:knetwalk \
                    port:kolf \
                    port:kollision \
                    port:konquest \
                    port:kpat \
                    port:kreversi \
                    port:kshisen \
                    port:ksirk \
                    port:ksnakeduel \
                    port:kspaceduel \
                    port:ksquares \
                    port:ksudoku \
                    port:ktuberling \
                    port:kubrick \
                    port:lskat \
                    port:palapeli \
                    port:picmi

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

livecheck.type      none