source: trunk/dports/java/jtidy/Portfile @ 52064

Last change on this file since 52064 was 52064, checked in by jmr@…, 11 years ago

jtidy: fix build with java 1.5+ (#10377)

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