categories java devel textproc
# Looks equivalent to zlib license but uses different wording
description Java library for syntax checking and pretty printing HTML
long_description jtidy is a Java port of HTML Tidy, a HTML syntax \
checker and pretty printer. Like its non-Java cousin, \
jtidy can be used as a tool for cleaning up malformed \
and faulty HTML. In addition, jtidy provides a DOM \
interface to the document that is being processed, \
which effectively makes you able to use jtidy as a DOM \
parser for real-world HTML.
homepage http://jtidy.sourceforge.net/
checksums md5 8fa91a760f7eea722e57f8b8da4a7d5f
depends_build bin:ant:apache-ant
depends_lib bin:java:kaffe
build.args -Dant.build.javac.source=1.4
xinstall -d -m 755 ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc/
xinstall -m 644 ${worksrcpath}/build/Tidy.jar \
${destroot}${prefix}/share/java/jtidy.jar
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}