Changeset 89810 for trunk/dports/tex


Ignore:
Timestamp:
Feb 11, 2012, 8:55:39 AM (8 years ago)
Author:
and.damore@…
Message:

ports: replacing rpm-vercomp with vercmp in portfiles

Location:
trunk/dports/tex
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/dvipng/Portfile

    r83084 r89810  
    4141pre-activate {
    4242    if { ![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
    43          && ([rpm-vercomp [lindex $vers 1] 23089] < 0
    44              || [rpm-vercomp [lindex $vers 1] 23089] == 0
     43         && ([vercmp [lindex $vers 1] 23089] < 0
     44             || [vercmp [lindex $vers 1] 23089] == 0
    4545             && [lindex $vers 2] < 1)} {
    4646        set deactivate_proc registry_deactivate_composite
  • trunk/dports/tex/latexdiff/Portfile

    r84550 r89810  
    6060    if {[file exists $prefix/bin/latexdiff]
    6161        && ![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
    62         && [rpm-vercomp [lindex $vers 1] 19536] < 0} {
     62        && [vercmp [lindex $vers 1] 19536] < 0} {
    6363        set deactivate_proc registry_deactivate_composite
    6464        if {[info commands registry_deactivate_composite] == {}} {
  • trunk/dports/tex/texlive-basic/Portfile

    r88821 r89810  
    7575    if {[file exists $prefix/bin/etex]
    7676        && ![catch {set vers [lindex [registry_active texlive] 0]}]
    77         && [rpm-vercomp [lindex $vers 1] 2009] < 0} {
     77        && [vercmp [lindex $vers 1] 2009] < 0} {
    7878        $deactivate_proc texlive "" [list ports_nodepcheck 1]
    7979    }
     
    8282    # 2009->2010 update
    8383    if {![catch {set vers [lindex [registry_active texlive-fontutils] 0]}]
    84         && [rpm-vercomp [lindex $vers 1] 16392] < 0} {
     84        && [vercmp [lindex $vers 1] 16392] < 0} {
    8585        $deactivate_proc texlive-fontutils "" [list ports_nodepcheck 1]
    8686    }
     
    9090    # exists, causing format generation to fail (see #27339)
    9191    if {![catch {set vers [lindex [registry_active texlive-lang-mongolian] 0]}]
    92          && [rpm-vercomp [lindex $vers 1] 14727] == 0
     92         && [vercmp [lindex $vers 1] 14727] == 0
    9393         && [lindex $vers 2] < 2} {
    9494        $deactivate_proc texlive-lang-mongolian "" [list ports_nodepcheck 1]
  • trunk/dports/tex/texlive-bin/Portfile

    r89701 r89810  
    136136# llvm-gcc apparently fails on Xcode 4.0.x (#30758)
    137137if {${configure.compiler} == "llvm-gcc-4.2" &&
    138     [rpm-vercomp $xcodeversion 4.1] < 0} {
     138    [vercmp $xcodeversion 4.1] < 0} {
    139139    configure.compiler gcc-4.2
    140140}
     
    238238    if { [file exists ${texlive_texmfdist}/scripts/tex4ht/ht.sh]
    239239         && ![catch {set vers [lindex [registry_active texlive-htmlxml] 0]}]
    240          && [rpm-vercomp [lindex $vers 1] 13822] == 0
     240         && [vercmp [lindex $vers 1] 13822] == 0
    241241         && [lindex $vers 2] <3} {
    242242        set deactivate_proc registry_deactivate_composite
     
    249249    if { [file exists ${texlive_texmfmain}/scripts/tetex/updmap.pl]
    250250         && ![catch {set vers [lindex [registry_active texlive-basic] 0]}]
    251          && [rpm-vercomp [lindex $vers 1] 23152] < 0} {
     251         && [vercmp [lindex $vers 1] 23152] < 0} {
    252252        set deactivate_proc registry_deactivate_composite
    253253        if {[info commands registry_deactivate_composite] == {}} {
  • trunk/dports/tex/texlive-fonts-recommended/Portfile

    r88821 r89810  
    5454    # cmsuper moved from fonts-extra to fonts-recommended in TL2010
    5555    if {![catch {set vers [lindex [registry_active texlive-fonts-extra] 0]}]
    56         && [rpm-vercomp [lindex $vers 1] 19491] < 0} {
     56        && [vercmp [lindex $vers 1] 19491] < 0} {
    5757        set deactivate_proc registry_deactivate_composite
    5858        if {[info commands registry_deactivate_composite] == {}} {
  • trunk/dports/tex/texlive-generic-recommended/Portfile

    r88821 r89810  
    3030    # kastrup moved from texlive-latex-extra to texlive-generic-recommended
    3131    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
    32         && [rpm-vercomp [lindex $vers 1] 19548] < 0} {
     32        && [vercmp [lindex $vers 1] 19548] < 0} {
    3333        set deactivate_proc registry_deactivate_composite
    3434        if {[info commands registry_deactivate_composite] == {}} {
  • trunk/dports/tex/texlive-latex-recommended/Portfile

    r88821 r89810  
    3535    # fontspec moved from texlive-xetex in TL2011
    3636    if {![catch {set vers [lindex [registry_active texlive-xetex] 0]}]
    37         && [rpm-vercomp [lindex $vers 1] 23080] < 0} {
     37        && [vercmp [lindex $vers 1] 23080] < 0} {
    3838        set deactivate_proc registry_deactivate_composite
    3939        if {[info commands registry_deactivate_composite] == {}} {
     
    4545    # textcase moved from texlive-latex-extra in TL2011
    4646    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
    47         && [rpm-vercomp [lindex $vers 1] 22931] < 0} {
     47        && [vercmp [lindex $vers 1] 22931] < 0} {
    4848        set deactivate_proc registry_deactivate_composite
    4949        if {[info commands registry_deactivate_composite] == {}} {
  • trunk/dports/tex/texlive-latex/Portfile

    r88821 r89810  
    4646    # 2009->2010 update
    4747    if {![catch {set vers [lindex [registry_active texlive-context] 0]}]
    48         && [rpm-vercomp [lindex $vers 1] 18549] < 0} {
     48        && [vercmp [lindex $vers 1] 18549] < 0} {
    4949        set deactivate_proc registry_deactivate_composite
    5050        if {[info commands registry_deactivate_composite] == {}} {
  • trunk/dports/tex/texlive-math-extra/Portfile

    r88821 r89810  
    3939    # binomexp moved from texlive-latex-extra to texlive-math-extra in TL2010
    4040    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
    41         && [rpm-vercomp [lindex $vers 1] 19538] < 0} {
     41        && [vercmp [lindex $vers 1] 19538] < 0} {
    4242        set deactivate_proc registry_deactivate_composite
    4343        if {[info commands registry_deactivate_composite] == {}} {
  • trunk/dports/tex/texlive-pictures/Portfile

    r88821 r89810  
    4444pre-activate {
    4545    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
    46         && [rpm-vercomp [lindex $vers 1] 19538] < 0} {
     46        && [vercmp [lindex $vers 1] 19538] < 0} {
    4747        set deactivate_proc registry_deactivate_composite
    4848        if {[info commands registry_deactivate_composite] == {}} {
Note: See TracChangeset for help on using the changeset viewer.