Revision: 89642 http://trac.macports.org/changeset/89642 Author: ryandesign@macports.org Date: 2012-02-04 21:58:21 -0800 (Sat, 04 Feb 2012) Log Message: ----------- py-parsing: create docdir before trying to install things into it (#33138), and use $subport instead of $name so the subports don't conflict with one another Modified Paths: -------------- trunk/dports/python/py-parsing/Portfile Modified: trunk/dports/python/py-parsing/Portfile =================================================================== --- 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 {
participants (1)
-
ryandesign@macports.org