Jtidy version 04aug2000r7 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 04aug2000r7

      View the most recent changes for the jtidy port at: jtidy.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for jtidy.
      The raw portfile for jtidy 04aug2000r7 is located here:
      http://jtidy.darwinports.com/dports/java/jtidy/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/jtidy


      The jtidy Portfile 52064 2009-06-09 14:59:12Z jmr macports.org $

      PortSystem 1.0

      Name: jtidy
      Version: 04aug2000r7
      Category: java devel textproc
      Platform: darwin
      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}
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/jtidy
      % sudo port install jtidy
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching jtidy
      ---> Verifying checksum for jtidy
      ---> Extracting jtidy
      ---> Configuring jtidy
      ---> Building jtidy with target all
      ---> Staging jtidy into destroot
      ---> Installing jtidy
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using jtidy with these commands:
      %  man jtidy
      % apropos jtidy
      % which jtidy
      % locate jtidy

     Where to find more information:

    Darwin Ports



    Lightbox this page.