[96039] trunk/dports/devel/git-core/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jul 29 23:56:21 PDT 2012


Revision: 96039
          https://trac.macports.org/changeset/96039
Author:   ryandesign at macports.org
Date:     2012-07-29 23:56:18 -0700 (Sun, 29 Jul 2012)
Log Message:
-----------
git-core: simplify documentation installation

Modified Paths:
--------------
    trunk/dports/devel/git-core/Portfile

Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile	2012-07-30 02:14:11 UTC (rev 96038)
+++ trunk/dports/devel/git-core/Portfile	2012-07-30 06:56:18 UTC (rev 96039)
@@ -75,6 +75,8 @@
     eval destroot.args  ${build.args}
 }
 
+set docdestroot ${destroot}${prefix}/share/doc/${name}
+
 post-destroot {
     foreach f {1 5 7} {
         xinstall -d ${destroot}${prefix}/share/man/man${f}
@@ -85,7 +87,6 @@
     if {![variant_isset svn]} {
         system "rm ${destroot}${prefix}/libexec/git-core/git-svn*"
     }
-    set docdestroot ${destroot}${prefix}/share/doc/${name}
     xinstall -d ${docdestroot}
     file copy ${worksrcpath}/contrib ${docdestroot}
 
@@ -128,8 +129,6 @@
     }
 
     post-destroot {
-        set docdestroot ${destroot}${prefix}/share/doc/${name}
-        xinstall -d ${docdestroot}
         foreach f [glob ${workpath}/htmldocs/*] {
             file copy ${f} ${docdestroot}
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120729/f9835d12/attachment.html>


More information about the macports-changes mailing list