[MacPorts] PortfileRecipes modified
MacPorts
noreply at macports.org
Wed Jan 16 14:26:02 PST 2013
Page "PortfileRecipes" was changed by ryandesign at macports.org
Diff URL: <https://trac.macports.org/wiki/PortfileRecipes?action=diff&version=46>
Revision 46
Comment: suggest use of ${subport} not ${name} when installing docs
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 45)
+++ PortfileRecipes (version: 46)
@@ -57,11 +57,11 @@
== Using glob results in "Cannot stat: <list of files>" == #glob
glob returns a list which is not handled by some commands (e.g. xinstall); instead, wrap the command in an eval. Instead of
{{{
-xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${name}
+xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
}}}
which fails with the "Cannot stat..." error, instead use
{{{
-eval xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${name}
+eval xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
}}}
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/PortfileRecipes>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone added your email address to be
notified of changes on 'PortfileRecipes' page.
If it was not you, please report to .
More information about the macports-changes
mailing list