# -*- 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                kiten
version             4.8.2
categories          kde kde4
maintainers         snc sharky michaelld
license             GPL-2+ LGPL-2+ GFDL-1.2
description         Japanese Reference/Study Tool
long_description    KDE ${description}
homepage            http://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu

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

checksums           rmd160  7cead162f7e3a56649c352619b521a7d27a5c348 \
                    sha256  f53cf1e2dc744d84b5f2730ffbc0c00ca6c6305f55b6f82ee426bc65b477b582

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

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