Revision: 92534 https://trac.macports.org/changeset/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: -------------- trunk/dports/python/py-tahchee/Portfile Modified: trunk/dports/python/py-tahchee/Portfile =================================================================== --- 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