source: trunk/dports/java/jtidy/Portfile

Last change on this file was 111999, checked in by jmr@…, 4 years ago

jtidy: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 111999 2013-10-09 02:31:38Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            jtidy
6version         04aug2000r7
7categories      java devel textproc
8# Looks equivalent to zlib license but uses different wording
9license         Permissive
10platforms       darwin
11supported_archs noarch
12maintainers     nomaintainer
13description     Java library for syntax checking and pretty printing HTML
14long_description        jtidy is a Java port of HTML Tidy, a HTML syntax \
15                        checker and pretty printer. Like its non-Java cousin, \
16                        jtidy can be used as a tool for cleaning up malformed \
17                        and faulty HTML. In addition, jtidy provides a DOM \
18                        interface to the document that is being processed, \
19                        which effectively makes you able to use jtidy as a DOM \
20                        parser for real-world HTML.
21
22homepage        http://jtidy.sourceforge.net/
23master_sites    sourceforge
24distname        ${distname}-dev
25checksums       md5 8fa91a760f7eea722e57f8b8da4a7d5f
26use_zip         yes
27
28depends_build   bin:ant:apache-ant
29depends_lib     bin:java:kaffe
30
31use_configure   no
32
33build.cmd       ant
34build.args  -Dant.build.javac.source=1.4
35build.target    jar javadoc
36
37destroot        {
38        xinstall -d -m 755 ${destroot}${prefix}/share/java \
39                ${destroot}${prefix}/share/doc/
40        xinstall -m 644 ${worksrcpath}/build/Tidy.jar \
41                ${destroot}${prefix}/share/java/jtidy.jar
42        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
43}
Note: See TracBrowser for help on using the repository browser.