Revision
92534
Author
jmr@macports.org
Date
2012-04-30 17:31:23 -0700 (Mon, 30 Apr 2012)

Log Message

py-tahchee: fix stub

Modified Paths

Diff

Modified: trunk/dports/python/py-tahchee/Portfile (92533 => 92534)


--- trunk/dports/python/py-tahchee/Portfile	2012-04-30 21:26:01 UTC (rev 92533)
+++ trunk/dports/python/py-tahchee/Portfile	2012-05-01 00:31:23 UTC (rev 92534)
@@ -21,15 +21,15 @@
 
 if {$subport != $name} {
 	depends_lib     port:py${python.version}-cheetah
-}
 
-extract.post_args	"| tar -xf - --exclude '.MANUAL.txt.swp'"
+    extract.post_args	"| tar -xf - --exclude '.MANUAL.txt.swp'"
 
-post-destroot {
-	file delete -force ${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/Documentation ${destroot}${prefix}/share/doc/${name}
-	file rename ${destroot}${prefix}/share/doc/${name}/Example \
-		${destroot}${prefix}/share/doc/${name}/examples
+    post-destroot {
+        file delete -force ${destroot}${prefix}/share/doc/${subport}
+        file copy ${worksrcpath}/Documentation ${destroot}${prefix}/share/doc/${subport}
+        file rename ${destroot}${prefix}/share/doc/${subport}/Example \
+            ${destroot}${prefix}/share/doc/${subport}/examples
+    }
 }
 
 livecheck.type	regex