[90949] trunk/dports/python/py-ipy/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Mar 19 02:29:51 PDT 2012


Revision: 90949
          https://trac.macports.org/changeset/90949
Author:   ryandesign at macports.org
Date:     2012-03-19 02:29:49 -0700 (Mon, 19 Mar 2012)
Log Message:
-----------
py-ipy: make "if {${name} != ${subport}}" the outermost block, so that other subport-specific blocks can be more easily added

Modified Paths:
--------------
    trunk/dports/python/py-ipy/Portfile

Modified: trunk/dports/python/py-ipy/Portfile
===================================================================
--- trunk/dports/python/py-ipy/Portfile	2012-03-19 09:09:48 UTC (rev 90948)
+++ trunk/dports/python/py-ipy/Portfile	2012-03-19 09:29:49 UTC (rev 90949)
@@ -32,8 +32,8 @@
 checksums       rmd160  f31b64d62d77a37b5fb66bb6bf047258426c7bed \
                 sha256  0fa14af4792cc0b6f61cb5a1cd8fbdf7ddbaa6864ef82681021b750e9e6b2b61
 
-post-destroot {
-    if {${name} != ${subport}} {
+if {${name} != ${subport}} {
+    post-destroot {
         set docdir ${prefix}/share/doc/${subport}
         xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120319/fae31de3/attachment.html>


More information about the macports-changes mailing list