You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name jtidy
|
|
version 04aug2000r7
|
|
categories java devel textproc
|
|
# Looks equivalent to zlib license but uses different wording
|
|
license Permissive
|
|
platforms any
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
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/
|
|
master_sites sourceforge
|
|
distname ${distname}-dev
|
|
checksums md5 8fa91a760f7eea722e57f8b8da4a7d5f
|
|
use_zip yes
|
|
|
|
depends_build bin:ant:apache-ant
|
|
depends_lib bin:java:kaffe
|
|
|
|
use_configure no
|
|
|
|
build.cmd ant
|
|
build.args -Dant.build.javac.source=1.4
|
|
build.target jar javadoc
|
|
|
|
destroot {
|
|
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}
|
|
}
|