# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $ PortSystem 1.0 name slf4j version 1.5.6 categories java maintainers blair platforms 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