[82740] trunk/dports/python/py-matplotlib/Portfile

jmr at macports.org jmr at macports.org
Fri Aug 19 12:21:42 PDT 2011


Revision: 82740
          http://trac.macports.org/changeset/82740
Author:   jmr at macports.org
Date:     2011-08-19 12:21:42 -0700 (Fri, 19 Aug 2011)
Log Message:
-----------
py-matplotlib: fix stub

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

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2011-08-19 18:57:49 UTC (rev 82739)
+++ trunk/dports/python/py-matplotlib/Portfile	2011-08-19 19:21:42 UTC (rev 82740)
@@ -28,9 +28,6 @@
 
 python.versions    24 25 26 27
 
-depends_lib-append port:freetype \
-                   port:libpng
-
 if {${subport} == "py24-matplotlib"} {
   depends_lib-append port:py-dateutil \
                      port:py-tz \
@@ -46,6 +43,11 @@
                      port:py${python.version}-pyobjc-cocoa
 }
 
+if {$subport != name} {
+
+depends_lib-append port:freetype \
+                   port:libpng
+
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
                    patch-disable_optional_deps.diff \
@@ -153,6 +155,8 @@
   default_variants   +tkinter
 }
 
+}
+
 livecheck.type     regex
 livecheck.url      ${homepage}
 livecheck.regex    {matplotlib (\d+(\.\d+)*) is available}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110819/69924fa7/attachment.html>


More information about the macports-changes mailing list