# -*- 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 91779 2012-04-10 14:17:51Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kcharselect
version             4.8.2
categories          kde kde4
license             GPL-2+
maintainers         nicos openmaintainer
description         Select special characters from any font.
long_description    KCharSelect is a tool to select special characters \
                    from all installed fonts and copy them into the \
                    clipboard.
platforms           darwin
homepage            http://utils.kde.org/projects/kcharselect/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  c7e1eabba950178b2a447d9990acaf252d49961c \
                    sha256  e2c53040fd6c77d5544886127e417557c0f6f299a20902a87576d1f3aa9b7471

depends_lib-append  port:kdelibs4 \
                    port:oxygen-icons

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

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