Download and Install commons-cli version 1.1 on Mac OS X
Friday the 21st of November, 2008

    commons-cli  most recent diff


    version 1.1

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



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

      PortSystem 1.0

      Name: commons-cli
      Version: 1.1
      revision 1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-CLI
      Long Description: The Jakarta Commons CLI library provides an API for processing command line interfaces. It was formed by the merger of ideas and code from three different libraries - Werken, Avalon and Optz.
      Homepage: http://commons.apache.org/cli/

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

      depends_build port:apache-ant

      depends_lib bin:java:kaffe port:commons-logging port:commons-lang port:junit

      use_configure no

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

      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_cli.cgi
      livecheck.regex "cli-(\\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-cli
      % sudo port install commons-cli
      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-cli
      ---> Verifying checksum for commons-cli
      ---> Extracting commons-cli
      ---> Configuring commons-cli
      ---> Building commons-cli with target all
      ---> Staging commons-cli into destroot
      ---> Installing commons-cli
    - 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-cli with these commands:
      %  man commons-cli
      % apropos commons-cli
      % which commons-cli
      % locate commons-cli

     Where to find more information:

    Darwin Ports



    Lightbox this page.