Download and Install commons-codec version 1.3 on Mac OS X
Wednesday the 23rd of July, 2008

    commons-codec  most recent diff


      View the most recent changes for the commons-codec port at: commons-codec.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for commons-codec.
      The raw portfile for commons-codec 1.3 is located here:
      http://commons-codec.darwinports.com/dports/java/commons-codec/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-codec
      Google
      Web Darwinports.com



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

      PortSystem 1.0

      Name: commons-codec
      Version: 1.3
      revision 1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Codec
      Long Description: Commons Codec provides implementations of common encoders and decoders such as Base64, Hex, various phonetic encodings, and URLs.
      Homepage: http://commons.apache.org/codec/

      distname ${name}-${version}-src
      master_sites apache:commons/codec/source/
      checksums md5 af3c3acf618de6108d65fcdc92b492e1

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

      use_configure no

      worksrcdir ${name}-${version}

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

      post-extract {
      # The license file is not supplied with the source...
      system "touch ${workpath}/LICENSE"
      }

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

      livecheck.check regex
      livecheck.url http://commons.apache.org/downloads/download_codec.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-codec
      % sudo port install commons-codec
      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-codec
      ---> Verifying checksum for commons-codec
      ---> Extracting commons-codec
      ---> Configuring commons-codec
      ---> Building commons-codec with target all
      ---> Staging commons-codec into destroot
      ---> Installing commons-codec
    - 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-codec with these commands:
      %  man commons-codec
      % apropos commons-codec
      % which commons-codec
      % locate commons-codec

     Where to find more information:

    Darwin Ports



    image test