Changeset 137072 for trunk/dports/print


Ignore:
Timestamp:
Jun 4, 2015, 5:53:56 AM (4 years ago)
Author:
larryv@…
Message:

ghostscript: Use argument expansion instead of eval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/ghostscript/Portfile

    r137071 r137072  
    7878
    7979    #move ${workpath}/MappingOther/Adobe-CNS1-ETen-B5 ${workpath}/MappingOther/Adobe-CNS1-ETenms-B5
    80     eval copy -force [glob ${workpath}/mappingresources4pdf_2unicode/*] ${worksrcpath}/Resource/CMap
    81     eval copy -force [glob ${workpath}/mappingresources4pdf_other/*]    ${worksrcpath}/Resource/CMap
     80    copy -force {*}[glob ${workpath}/mappingresources4pdf_2unicode/*] ${worksrcpath}/Resource/CMap
     81    copy -force {*}[glob ${workpath}/mappingresources4pdf_other/*]    ${worksrcpath}/Resource/CMap
    8282}
    8383
     
    119119    xinstall -m 755 -d ${destroot}${prefix}/share/${name}/fonts
    120120    foreach f {*.afm *.gsf *.pfa *.pfm} {
    121         eval xinstall -m 644 [glob ${workpath}/fonts/${f}] ${destroot}${prefix}/share/${name}/fonts
     121        xinstall -m 644 {*}[glob ${workpath}/fonts/${f}] ${destroot}${prefix}/share/${name}/fonts
    122122    }
    123123
Note: See TracChangeset for help on using the changeset viewer.