# -*- 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                krdc
version             4.14.3
revision            4
categories          kde kde4
license             GPL-2+ LGPL-2+
maintainers         nomaintainer
description         KDE Remote Desktop Client
long_description    KRDC is a client application that allows you to view or \
                    even control the desktop session on another machine that \
                    is running a compatible server. VNC and RDP is supported.
platforms           darwin
homepage            https://www.kde.org/applications/internet/krdc/
master_sites        kde:stable/${version}/src/
use_xz              yes

checksums           rmd160  becb677014739c9b57729dab9fe15c82b0436e7f \
                    sha256  86dbd710db5f64f59d9879e1630e13821f10a779c8cb194eb6b627f8d03fe61e \
                    size    398048

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

depends_lib-append  port:kdelibs4 \
                    port:LibVNCServer \
                    port:telepathy-qt

patchfiles-append   patch-vncclientthread.diff

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

livecheck.url       ${kde4.mirror}
livecheck.regex     (\\d+(\\.\\d+)+)
