description Python interface to html tidy
long_description Python interface to html tidy, the html and xml \
cleanup tool from the w3c;
homepage http://utidylib.berlios.de/
master_sites http://download.berlios.de/utidylib/
distname uTidylib-${version}
checksums md5 c9f16988f92ef660f46523192ef37462
patchfiles patch-lib.py.diff
depends_lib-append lib:libtidy:tidy \
reinplace "s|__TIDYLIB__|${prefix}/lib/libtidy.dylib|g" \
${worksrcpath}/tidy/lib.py
system "cd ${worksrcpath} && ${python.bin} gendoc.py"
file rename ${worksrcpath}/apidoc ${worksrcpath}/doc
file delete -force ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} INSTALL.txt README.path README.txt \
${destroot}${prefix}/share/doc/${name}