Commons-io version 1.4 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    commons-io  most recent diff


    version 1.4

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


      The commons-io Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: commons-io
      Version: 1.4

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-IO
      Long Description: Commons IO is a library of utilities to assist with developing IO functionality from Java.
      Homepage: http://commons.apache.org/io/

      distname ${name}-${version}-src
      Master Sites: apache:commons/io/source/
      Checksums: md5 24b228f2d0c40ffed9204cdab015bccf sha1 75b036b80872d7cba4ae1ed90582f1ebb6f26380

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

      use_configure no

      build.env CLASSPATH=${prefix}/share/java/junit.jar
      build.cmd ant
      build.target dist
      build.args -Dfinal.name=${name}

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/target/dist/${name}.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/xdocs ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.type regex
      livecheck.url http://commons.apache.org/downloads/download_io.cgi
      livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"

    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/commons-io
      % sudo port install commons-io
      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 commons-io
      ---> Verifying checksum for commons-io
      ---> Extracting commons-io
      ---> Configuring commons-io
      ---> Building commons-io with target all
      ---> Staging commons-io into destroot
      ---> Installing commons-io
    - 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 commons-io with these commands:
      %  man commons-io
      % apropos commons-io
      % which commons-io
      % locate commons-io

     Where to find more information:

    Darwin Ports



    Lightbox this page.