Modified: trunk/dports/python/py-virtualenv/Portfile (89527 => 89528)
--- trunk/dports/python/py-virtualenv/Portfile 2012-02-01 17:39:56 UTC (rev 89527)
+++ trunk/dports/python/py-virtualenv/Portfile 2012-02-01 17:46:46 UTC (rev 89528)
@@ -26,15 +26,17 @@
python.versions 24 25 26 27 31 32
python.default_version 27
-depends_lib-append port:py${python.version}-distribute
-
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
- foreach f [glob -directory ${worksrcpath}/docs *] {
- copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-distribute
+
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ foreach f [glob -directory ${worksrcpath}/docs *] {
+ copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
+ }
}
+} else {
+ livecheck.type regex
+ livecheck.url http://pypi.python.org/pypi/virtualenv
+ livecheck.regex virtualenv (1\.\[0-9\]+\.\[0-9\]+)
}
-
-livecheck.type regex
-livecheck.url http://pypi.python.org/pypi/virtualenv
-livecheck.regex virtualenv (1\.\[0-9\]+\.\[0-9\]+)