Revision
89546
Author
robitaille@macports.org
Date
2012-02-01 13:37:40 -0800 (Wed, 01 Feb 2012)

Log Message

py-montage: fixed unified Portfile

Modified Paths

Diff

Modified: trunk/dports/python/py-montage/Portfile (89545 => 89546)


--- trunk/dports/python/py-montage/Portfile	2012-02-01 21:37:09 UTC (rev 89545)
+++ trunk/dports/python/py-montage/Portfile	2012-02-01 21:37:40 UTC (rev 89546)
@@ -30,6 +30,8 @@
 python.versions     25 26 27
 python.default_version 27
 
-depends_run-append  port:py${python.version}-numpy \
-                    port:py${python.version}-pyfits \
-                    port:montage
+if {$subport != $name} {
+    depends_run-append  port:py${python.version}-numpy \
+                        port:py${python.version}-pyfits \
+                        port:montage
+}
\ No newline at end of file