[MacPorts] PortfileRecipes modified

MacPorts noreply at macports.org
Wed Jun 6 08:34:43 PDT 2012


Changed page "PortfileRecipes" by ryandesign at macports.org from 70.114.147.232*
Page URL: <https://trac.macports.org/wiki/PortfileRecipes>
Diff URL: <https://trac.macports.org/wiki/PortfileRecipes?action=diff&version=40>
Revision 40
Comment: docdir example: don't include destroot in docdir variable

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 39)
+++ PortfileRecipes (version: 40)
@@ -198,14 +198,14 @@
 
 {{{
 post-destroot {
-    set docdir ${destroot}${prefix}/share/doc/${subport}
-    xinstall -d ${docdir}
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
     xinstall -m 644 -W ${worksrcpath} \
         AUTHORS \
         COPYING \
         NEWS \
         README \
-        ${docdir}
+        ${destroot}${docdir}
 }
 }}}
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on PortfileRecipes. If it was not you, please
report to .


More information about the macports-changes mailing list