Clog version 20030825 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 20030825

      View the most recent changes for the clog port at: clog.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for clog.
      The raw portfile for clog 20030825 is located here:
      http://clog.darwinports.com/dports/devel/clog/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/clog


      The clog Portfile 30224 2007-10-22 22:49:14Z jmpp macports.org $

      PortSystem 1.0

      Name: clog
      Version: 20030825
      Category: devel
      Platform: darwin
      Maintainers: nomaintainer
      Description: cLog is a cross-platform C logging library.
      Long Description: cLog is a cross-platform C logging library. It is designed to log to files and can also log to a callback function.

      Homepage: http://www.webgroupmedia.com/software/
      Master Sites: ${homepage}
      distname clog_${version}
      Checksums: md5 6561e54a243a715f41549cdbbe28cb06
      Patch Files: patch-Makefile

      worksrcdir clog

      use_configure no

      build.target
      build.args PREFIX=${prefix}

      test.run yes
      test.target test
      post-test {
      system "cd ${workpath}/build && ./test_clog && test -f test.log"
      }

      destroot {
      xinstall -m 644 ${worksrcpath}/clog.h ${destroot}${prefix}/include
      xinstall -m 644 -W ${workpath}/build libclog.a libclog.1.0.dylib ${destroot}${prefix}/lib/
      system "cd ${destroot}${prefix}/lib/ && ln -s libclog.1.0.dylib libclog.1.dylib && ln -s libclog.1.0.dylib libclog.dylib"
      }

    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/clog
      % sudo port install clog
      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 clog
      ---> Verifying checksum for clog
      ---> Extracting clog
      ---> Configuring clog
      ---> Building clog with target all
      ---> Staging clog into destroot
      ---> Installing clog
    - 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 clog with these commands:
      %  man clog
      % apropos clog
      % which clog
      % locate clog

     Where to find more information:

    Darwin Ports



    Lightbox this page.