Ignore:
Timestamp:
Dec 11, 2010, 8:44:07 PM (9 years ago)
Author:
ryandesign@…
Message:

pure-1.0.tcl: only install doc files if they exist (they don't for pure-docs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/pure-1.0.tcl

    r59901 r74307  
    6666    post-destroot {
    6767        xinstall -d ${destroot}${prefix}/share/doc/${name}
    68         xinstall -m 644 -W ${worksrcpath} \
    69             COPYING \
    70             README \
    71             ${destroot}${prefix}/share/doc/${name}
     68        foreach f {COPYING README} {
     69            if {[file exists ${worksrcpath}/${f}]} {
     70                xinstall -m 644 ${worksrcpath}/${f} ${destroot}${prefix}/share/doc/${name}
     71            }
     72        }
    7273        if {[file exists ${worksrcpath}/examples]} {
    7374            xinstall -d ${destroot}${prefix}/share/examples
Note: See TracChangeset for help on using the changeset viewer.