# -*- 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 115822 2014-01-12 07:04:33Z nicos@macports.org $ PortSystem 1.0 PortGroup kde4 1.1 name krdc version 4.11.5 categories kde kde4 license GPL-2+ LGPL-2+ maintainers nicos openmaintainer 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 http://www.kde.org/applications/internet/krdc/ master_sites kde:stable/${version}/src/ use_xz yes checksums rmd160 207bb8c32c3705e07ecbf8a008597e80fb5d1719 \ sha256 342758ba85f9e54158a8ca41cbe9f0554d046ff10b691b82e3fbdacf34f17498 #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 if {![variant_isset docs]} { patchfiles patch-CMakeLists.diff } pre-activate { #Deactivate hack for when kdenetwork4 port has been fragmented into small ports if {[file exists ${prefix}/lib/kde4/sambausershareplugin.so] && ![catch {set vers [lindex [registry_active kdenetwork4] 0]}] && [rpm-vercomp [lindex $vers 1] 4.11.0] < 0} { registry_deactivate_composite kdenetwork4 "" [list ports_nodepcheck 1] } } livecheck.url http://kde.mirrors.hoobly.com/stable/ livecheck.regex (\\d+(\\.\\d+)+)