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

    commons-daemon  most recent diff


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



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

      PortSystem 1.0

      Name: commons-daemon
      Version: 1.0.1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Daemon
      Long Description: An alternative invocation mechanism for unix-daemon-like java code.
      Homepage: http://commons.apache.org/daemon/

      distname daemon-${version}
      master_sites apache:commons/daemon/source/
      checksums md5 df3eb5aafa53ca530843a09d40b8a1c0

      patchfiles patch-native-dso-dyld.c

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

      use_configure no

      build {
      # First build the java code
      system "cd ${worksrcpath} && ant dist -Djunit.jar=${prefix}/share/java/junit.jar"

      # Then build the native code jsvc tool
      system "cd ${worksrcpath}/src/native/unix && ./configure && make"
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc ${destroot}${prefix}/bin
      xinstall -m 644 ${worksrcpath}/dist/commons-daemon.jar ${destroot}${prefix}/share/java/
      xinstall -m 755 ${worksrcpath}/src/native/unix/jsvc ${destroot}${prefix}/bin/
      file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.check regex
      livecheck.url http://commons.apache.org/downloads/download_daemon.cgi
      livecheck.regex "daemon-(\\d+\\.\\d+(\\.\\d+)?).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-daemon
      % sudo port install commons-daemon
      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-daemon
      ---> Verifying checksum for commons-daemon
      ---> Extracting commons-daemon
      ---> Configuring commons-daemon
      ---> Building commons-daemon with target all
      ---> Staging commons-daemon into destroot
      ---> Installing commons-daemon
    - 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-daemon with these commands:
      %  man commons-daemon
      % apropos commons-daemon
      % which commons-daemon
      % locate commons-daemon

     Where to find more information:

    Darwin Ports



    image test