Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 39799

Show
Ignore:
Timestamp:
09/04/08 19:01:40 (3 months ago)
Author:
takeshi@…
Message:

plplot: checks if *.mod exits before copy for cmake 2.4.x and 2.6.x

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/plplot/Portfile

    r37738 r39799  
    9494 
    9595pre-destroot { 
    96         file copy ${workpath}/build/bindings/f95/plplot.mod ${workpath}/build/ 
    97         file copy ${workpath}/build/bindings/f95/plplotp.mod ${workpath}/build/ 
    98         file copy ${workpath}/build/bindings/f95/plplot_flt.mod ${workpath}/build/ 
     96    set mods "${workpath}/build/bindings/f95/plplot.mod  
     97                    ${workpath}/build/bindings/f95/plplotp.mod  
     98              ${workpath}/build/bindings/f95/plplot_flt.mod" 
     99    foreach m $mods { 
     100        if {[file exists $m]} { 
     101            file copy $m ${workpath}/build/ 
     102        } 
     103    } 
    99104} 
    100105