[MacPorts] PortfileRecipes modified

MacPorts noreply at macports.org
Mon Feb 26 05:14:13 UTC 2018


Page "PortfileRecipes" was changed by ryandesign
Diff URL: <https://trac.macports.org/wiki/PortfileRecipes?action=diff&version=100>
Revision 100
Comment: Suggest that octal values be written with leading 0
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 99)
+++ PortfileRecipes (version: 100)
@@ -87,11 +87,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, use argument expansion, introduced with Tcl 8.5.  Instead of
 {{{
-xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
+xinstall -m 0644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
 }}}
 which fails with the "Cannot stat..." error, instead use
 {{{
-xinstall -m 644 {*}[glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
+xinstall -m 0644 {*}[glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}
 }}}
 
 
@@ -340,7 +340,7 @@
 post-destroot {
     set docdir ${prefix}/share/doc/${subport}
     xinstall -d ${destroot}${docdir}
-    xinstall -m 644 -W ${worksrcpath} \
+    xinstall -m 0644 -W ${worksrcpath} \
         AUTHORS \
         COPYING \
         NEWS \
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/PortfileRecipes>
MacPorts <https://www.macports.org/>
Ports system for macOS

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 admin at macports.org.


More information about the macports-changes mailing list