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

    commons-collections  most recent diff


    version 3.2.1

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



      # $Id: Portfile 37170 2008-05-28 16:55:29Z blair macports.org $

      PortSystem 1.0

      Name: commons-collections
      Version: 3.2.1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Collections
      Long Description: Commons-Collections provides a suite of classes that extend or augment the Java Collections Framework.
      Homepage: http://commons.apache.org/collections/

      distfiles ${distname}-src${extract.suffix}
      master_sites apache:commons/collections/source/
      checksums md5 031ce05872ddb0462f0dcce1e5babbe9 sha1 6925f4a487d58538a4d3ef11d63aefdd66ee2405 rmd160 850b2b710fb7811b71b0c347396ba55df3dc8e34

      worksrcdir ${name}-${version}-src

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

      use_configure no

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

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/build/commons-collections.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/build/docs ${destroot}${prefix}/share/doc/${name}
      file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.