Commons-pool version 1.4 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    commons-pool  most recent diff


    version 1.4

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


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

      PortSystem 1.0

      Name: commons-pool
      Version: 1.4

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Pool
      Long Description: Commons-Pool provides a generic object pooling interface, a toolkit for creating modular object pools and several general purpose pool implementations.
      Homepage: http://commons.apache.org/pool/

      distname ${name}-${version}-src
      Master Sites: apache:commons/pool/source/
      Checksums: md5 4dc988ee16e1471799af97763297b41b sha1 89f5ebb6e2b9ac7fcdc08a03ca18cc3ad2bda3d2 rmd160 233c89e239f8b3a8b0e56f6fc3a86a47150500f4

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

      use_configure no

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

      build.cmd ant
      build.target dist
      build.args -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/commons-pool.jar ${destroot}${prefix}/share/java/commons-pool.jar
      file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
      file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.