source: trunk/dports/java/slf4j/Portfile

Last change on this file was 57375, checked in by ryandesign@…, 8 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    slf4j
6version                 1.5.6
7
8categories              java
9maintainers             blair
10platforms               darwin
11
12description             Simple Logging Facade for Java (SLF4J)
13long_description        The Simple Logging Facade for Java or (SLF4J) is \
14                        intended to serve as a simple facade for various \
15                        logging APIs allowing to the end-user to plug in \
16                        the desired implementation at deployment time.  \
17                        SLF4J also supports a bridging legacy APIs as \
18                        well as a source code migration tool.  SLF4J API \
19                        offers an advanced abstraction of various logging \
20                        systems, including JDK 1.4 logging, log4j and \
21                        logback.  Features include parameterized logging \
22                        and MDC support.
23homepage                http://www.slf4j.org/
24
25master_sites            ${homepage}dist/
26checksums               md5 967db737f5d748aa36d79c69dceeaa27 \
27                        sha1 a73c602cab0d3c3bd7239de9d89a37eb5b251e03 \
28                        rmd160 e3e2a0bda4d144c8fa83fac4f62706657c48ad61
29
30depends_lib             bin:java:kaffe
31
32use_configure           no
33
34build.cmd               true
35
36destroot {
37        # Ensure needed directories
38        xinstall -m 755 -d ${destroot}${prefix}/share/java \
39                ${destroot}${prefix}/share/doc/${name}
40
41        foreach f {     jcl-over-slf4j jul-to-slf4j log4j-over-slf4j slf4j-api
42                        slf4j-ext slf4j-jcl slf4j-jdk14 slf4j-log4j12
43                        slf4j-migrator slf4j-nop slf4j-simple} {
44                file copy ${worksrcpath}/${f}-${version}.jar \
45                        ${destroot}${prefix}/share/java/${f}.jar
46        }
47
48        file copy ${worksrcpath}/LICENSE.txt \
49                ${destroot}${prefix}/share/doc/${name}
50        file copy ${worksrcpath}/site/apidocs \
51                ${destroot}${prefix}/share/doc/${name}
52}
53
54livecheck.type          regex
55livecheck.url           ${homepage}download.html
56livecheck.regex         slf4j-(\[0-9.\]+)\\.tar\\.gz
Note: See TracBrowser for help on using the repository browser.