source: trunk/dports/kde/libkcompactdisc/Portfile @ 123030

Last change on this file since 123030 was 123030, checked in by jmr@…, 5 years ago

change rpm-vercomp to vercmp in all portfiles, again

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 123030 2014-08-04 00:14:49Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4   1.1
6
7name                libkcompactdisc
8version             4.12.5
9categories          kde kde4
10maintainers         nicos openmaintainer
11license             GPL-2+ LGPL-2+
12description         Multi-plaform CD-Player library.
13long_description    ${description}
14homepage            http://www.kde.org
15platforms           darwin
16master_sites        kde:stable/${version}/src/
17use_xz              yes
18checksums           rmd160  b2759b07443aef52e6fecd5ecb5febd95f84ce80 \
19                    sha256  cdf967769590b3b2b33d4599a8eb8dc213a53fa59f607516b00791e74017cd6c
20
21#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
22license_noconflict  openssl
23
24depends_lib-append  port:kdelibs4
25
26pre-activate {
27    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
28    if {[file exists ${prefix}/include/libkcompactdisc/kcompactdisc.h] 
29        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
30        && [vercmp [lindex $vers 1] 4.9.3] < 0} {
31            registry_deactivate_composite kdemultimedia4 "" [list ports_nodepcheck 1] 
32    } 
33}
34
35livecheck.url       http://kde.mirrors.hoobly.com/stable/
36livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.