Modified: trunk/dports/python/py-parsing/Portfile (89641 => 89642)
--- trunk/dports/python/py-parsing/Portfile 2012-02-05 05:50:11 UTC (rev 89641)
+++ trunk/dports/python/py-parsing/Portfile 2012-02-05 05:58:21 UTC (rev 89642)
@@ -30,14 +30,14 @@
if {$subport != $name} {
post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
- LICENSE README ${destroot}${prefix}/share/doc/${name}
+ LICENSE README ${docdir}
delete ${worksrcpath}/docs/examples ${worksrcpath}/docs/htmldoc
- eval xinstall -m 644 [glob ${worksrcpath}/docs/*] \
- ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
- eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
- ${destroot}${prefix}/share/doc/${name}/examples/
+ eval xinstall -m 644 [glob ${worksrcpath}/docs/*] ${docdir}
+ file copy ${worksrcpath}/htmldoc ${docdir}
+ eval xinstall -m 644 [glob ${worksrcpath}/examples/*] ${docdir}/examples/
}
livecheck.type none
} else {