Ticket #28211: kdelibs4-Portfile.diff

File kdelibs4-Portfile.diff, 592 bytes (added by nerdling (Jeremy Lavergne), 14 years ago)

detect kdebase4-runtime < 4.6.0

  • Portfile

     
    7373"
    7474}
    7575
     76pre-activate {
     77    if {[file exists ${prefix}/share/locale/en_US/entry.desktop]
     78        && ![catch {set vers [lindex [registry_active kdebase4-runtime] 0]}]
     79        && [rpm-vercomp [lindex $vers 1] 4.6.0] < 0} {
     80        registry_deactivate kdebase4-runtime "" [list ports_nodepcheck 1]
     81    }
     82}
     83
    7684livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
    7785livecheck.regex     kdelibs-(\\d+\\.\\d+\\.\\d+)