[137308] trunk/dports/devel/automake/Portfile

larryv at macports.org larryv at macports.org
Mon Jun 8 17:21:53 PDT 2015


Revision: 137308
          https://trac.macports.org/changeset/137308
Author:   larryv at macports.org
Date:     2015-06-08 17:21:53 -0700 (Mon, 08 Jun 2015)
Log Message:
-----------
automake: Don't repeat ourselves in post-destroot

Modified Paths:
--------------
    trunk/dports/devel/automake/Portfile

Modified: trunk/dports/devel/automake/Portfile
===================================================================
--- trunk/dports/devel/automake/Portfile	2015-06-09 00:21:51 UTC (rev 137307)
+++ trunk/dports/devel/automake/Portfile	2015-06-09 00:21:53 UTC (rev 137308)
@@ -43,10 +43,11 @@
 test.target         check
 
 post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 755 -d $docdir
     xinstall -m 644 -W ${worksrcpath} \
             AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README THANKS \
-            ${destroot}${prefix}/share/doc/${name}
+            $docdir
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150608/a5877ba3/attachment.html>


More information about the macports-changes mailing list