Changes between Version 45 and Version 46 of PortfileRecipes


Ignore:
Timestamp:
Jan 16, 2013, 10:26:01 PM (11 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

suggest use of ${subport} not ${name} when installing docs

Legend:

Unmodified
Added
Removed
Modified
  • PortfileRecipes

    v45 v46  
    5858glob returns a list which is not handled by some commands (e.g. xinstall); instead, wrap the command in an eval.  Instead of
    5959{{{
    60 xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${name}
     60xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
    6161}}}
    6262which fails with the "Cannot stat..." error, instead use
    6363{{{
    64 eval xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${name}
     64eval xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
    6565}}}
    6666