Revision
91583
Author
jmr@macports.org
Date
2012-04-05 23:41:46 -0700 (Thu, 05 Apr 2012)

Log Message

py-empy: fix stub

Modified Paths

Diff

Modified: trunk/dports/python/py-empy/Portfile (91582 => 91583)


--- trunk/dports/python/py-empy/Portfile	2012-04-06 06:33:36 UTC (rev 91582)
+++ trunk/dports/python/py-empy/Portfile	2012-04-06 06:41:46 UTC (rev 91583)
@@ -29,14 +29,13 @@
 python.versions     24 25 26 27 31 32
 python.default_version 24
 
-post-destroot {
-    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
-}
-
 if {${name} == ${subport}} {
     livecheck.type      regex
     livecheck.url       ${homepage}
     livecheck.regex     The current version of empy is (\[0-9.\]+)
 } else {
+    post-destroot {
+        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
+    }
     livecheck.type      none
 }