# -*- 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 111914 2013-10-06 03:01:23Z nicos@macports.org $ PortSystem 1.0 PortGroup kde4 1.1 name libkcddb version 4.11.2 categories kde kde4 maintainers nicos openmaintainer license GPL-2+ LGPL-2+ description KDE interface to compact disc database. long_description ${description} homepage http://www.kde.org platforms darwin master_sites kde:stable/${version}/src/ use_xz yes checksums rmd160 de3882ddecab5662ded21b9c7f969da0361ae282 \ sha256 a6aaa0c8c79bf3d3046f964d27d80a45a6d7f6ea6a32259acc1542800118e443 #Binaries do not link to openssl, nor use the ssl backend of kdelibs4 license_noconflict openssl depends_lib-append port:kdelibs4 if {![variant_isset docs]} { patchfiles-append patch-CMakeLists.txt.diff } pre-activate { #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports if {[file exists ${prefix}/include/libkcddb/cdinfo.h] && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} { registry_deactivate_composite kdemultimedia4 "" [list ports_nodepcheck 1] } } livecheck.url http://kde.mirrors.hoobly.com/stable/ livecheck.regex (\\d+(\\.\\d+)+)