source: trunk/dports/kde/kde-dev-utils/Portfile @ 126342

Last change on this file since 126342 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.2 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                kde-dev-utils
8version             4.12.5
9categories          kde kde4
10license             LGPL-2+
11maintainers         nicos openmaintainer
12description         KDE developer utilities
13long_description    ${description}
14platforms           darwin
15homepage            http://www.kde.org/
16master_sites        kde:stable/${version}/src/
17use_xz              yes
18
19checksums           rmd160  92cd9c3fd263e97dfa6d6b25b0f96f54dbab824b \
20                    sha256  48106adb40e7e2a6097b98fc98d3f81df2f43ecff2af85750c6a75b1dcda4077
21
22depends_lib-append  port:kdelibs4
23
24pre-activate {
25    #Deactivate hack for when kdesdk4 port has been fragmented into small ports
26    if {[file exists ${prefix}/bin/kdedoc]
27        && ![catch {set vers [lindex [registry_active kdesdk4] 0]}] 
28        && [vercmp [lindex $vers 1] 4.11.0] < 0} {
29            registry_deactivate_composite kdesdk4 "" [list ports_nodepcheck 1] 
30    } 
31}
32
33livecheck.url       http://kde.mirrors.hoobly.com/stable/
34livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.