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

    version 1.5.6

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


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

      PortSystem 1.0

      Name: slf4j
      Version: 1.5.6

      Category: java
      Maintainers: blair
      Platform: darwin

      Description: Simple Logging Facade for Java (SLF4J)
      Long Description: The Simple Logging Facade for Java or (SLF4J) is intended to serve as a simple facade for various logging APIs allowing to the end-user to plug in the desired implementation at deployment time. SLF4J also supports a bridging legacy APIs as well as a source code migration tool. SLF4J API offers an advanced abstraction of various logging systems, including JDK 1.4 logging, log4j and logback. Features include parameterized logging and MDC support.
      Homepage: http://www.slf4j.org/

      Master Sites: ${homepage}dist/
      Checksums: md5 967db737f5d748aa36d79c69dceeaa27 sha1 a73c602cab0d3c3bd7239de9d89a37eb5b251e03 rmd160 e3e2a0bda4d144c8fa83fac4f62706657c48ad61

      depends_lib bin:java:kaffe

      use_configure no

      build.cmd true

      destroot {
      # Ensure needed directories
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc/${name}

      foreach f { jcl-over-slf4j jul-to-slf4j log4j-over-slf4j slf4j-api
      slf4j-ext slf4j-jcl slf4j-jdk14 slf4j-log4j12
      slf4j-migrator slf4j-nop slf4j-simple} {
      file copy ${worksrcpath}/${f}-${version}.jar ${destroot}${prefix}/share/java/${f}.jar
      }

      file copy ${worksrcpath}/LICENSE.txt ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/site/apidocs ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.type regex
      livecheck.url ${homepage}download.html
      livecheck.regex slf4j-(\[0-9.\]+)\\.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/slf4j
      % sudo port install slf4j
      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 slf4j
      ---> Verifying checksum for slf4j
      ---> Extracting slf4j
      ---> Configuring slf4j
      ---> Building slf4j with target all
      ---> Staging slf4j into destroot
      ---> Installing slf4j
    - 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 slf4j with these commands:
      %  man slf4j
      % apropos slf4j
      % which slf4j
      % locate slf4j

     Where to find more information:

    Darwin Ports



    Lightbox this page.