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

Last change on this file was 85230, checked in by jmr@…, 6 years ago

jakarta-log4j: license

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