Download and Install dom4j version 1.6.1 on Mac OS X
Wednesday the 23rd of July, 2008

    dom4j  most recent diff


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



      # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: dom4j
      Version: 1.6.1
      revision 1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: XML, XPATH, and XSLT support for Java.
      Long Description: dom4j is an easy to use, open source library for working with XML, XPath and XSLT on the Java platform using the Java Collections Framework and with full support for DOM, SAX and JAXP.
      Homepage: http://www.dom4j.org

      master_sites sourceforge
      checksums md5 1e7ef6d20939315714de4a8502f27b2d

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe port:junit

      patchfiles patch-build.xml.diff

      use_configure no

      build.cmd ant
      build.target all
      build.args -Djunit.jar=${prefix}/share/java/junit.jar

      pre-patch {
      # Convert build.xml to unix line feeds before we try to patch it
      reinplace "s/\r$//g" ${worksrcpath}/build.xml
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/build/${name}.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/build/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/dom4j
      % sudo port install dom4j
      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 dom4j
      ---> Verifying checksum for dom4j
      ---> Extracting dom4j
      ---> Configuring dom4j
      ---> Building dom4j with target all
      ---> Staging dom4j into destroot
      ---> Installing dom4j
    - 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 dom4j with these commands:
      %  man dom4j
      % apropos dom4j
      % which dom4j
      % locate dom4j

     Where to find more information:

    Darwin Ports



    image test