source: trunk/dports/java/jakarta-log4j/Portfile @ 84649

Last change on this file since 84649 was 66573, checked in by ryandesign@…, 10 years ago

jakarta-log4j: update to 1.2.16

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 66573 2010-04-17 03:20:47Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            jakarta-log4j
6version         1.2.16
7
8categories      java devel
9platforms       darwin
10maintainers     nomaintainer
11
12description     Java logging API
13long_description        With log4j it is possible to enable logging at \
14        runtime without modifying the application binary. The log4j package \
15        is  designed so that these statements can remain in shipped code \
16        without incurring a heavy performance cost. Logging behavior can \
17        be controlled by editing a configuration file, without  touching \
18        the application binary.
19homepage        http://logging.apache.org/
20
21distname        apache-log4j-${version}
22master_sites    apache:logging/log4j/${version}
23
24checksums       md5     8e331a930d0b56280a1c66a00621b3a3 \
25                sha1    5d0547046eceedcd4bd9e816a93540dbf8f4ca93 \
26                rmd160  b80cd2d55e10322e7903ffb355d36c93daceece6
27
28depends_build   port:apache-ant \
29                bin:javac:kaffe
30
31use_configure   no
32
33build           { }
34
35destroot        {
36        xinstall -m 755 -d ${destroot}${prefix}/share/java/ \
37                ${destroot}${prefix}/share/doc/${name}
38        xinstall -m 644 ${worksrcpath}/log4j-${version}.jar \
39                ${destroot}${prefix}/share/java/jakarta-log4j.jar
40        foreach f {LICENSE NOTICE contribs examples site} {
41                file copy ${worksrcpath}/${f} \
42                        ${destroot}${prefix}/share/doc/${name}/${f}
43        }
44        ln -s site/apidocs ${destroot}${prefix}/share/doc/${name}/api
45}
46
47livecheck.type  regex
48livecheck.url   http://apache.crihan.fr/dist/logging/log4j/
49livecheck.regex {>(\d+(?:\.\d+)*)\/}
Note: See TracBrowser for help on using the repository browser.