[86869] trunk/dports/python/py-matplotlib-basemap/Portfile

ram at macports.org ram at macports.org
Sat Nov 5 20:59:42 PDT 2011


Revision: 86869
          http://trac.macports.org/changeset/86869
Author:   ram at macports.org
Date:     2011-11-05 20:59:38 -0700 (Sat, 05 Nov 2011)
Log Message:
-----------
python/py-matplotlib-basemap: fix post-destroot #31925

Modified Paths:
--------------
    trunk/dports/python/py-matplotlib-basemap/Portfile

Modified: trunk/dports/python/py-matplotlib-basemap/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib-basemap/Portfile	2011-11-06 02:47:59 UTC (rev 86868)
+++ trunk/dports/python/py-matplotlib-basemap/Portfile	2011-11-06 03:59:38 UTC (rev 86869)
@@ -40,9 +40,11 @@
 
 universal_variant no
 
-post-destroot {
-  delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py
-  delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.pyc
+if {${name} != ${subport}} {
+  post-destroot {
+    delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py
+    delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.pyc
+  }
 }
 
 livecheck.type     regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111105/a2435caf/attachment.html>


More information about the macports-changes mailing list