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

Last change on this file since 62060 was 62060, checked in by nox@…, 11 years ago

Fix jakarta-log4j livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 62060 2009-12-28 16:35:48Z nox@macports.org $
2
3PortSystem 1.0
4
5name            jakarta-log4j
6version         1.2.15
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}
23checksums       md5 10f04abe4d68d5a89e8eb167e4e45e1a \
24                sha1 d6daea1586b932b1e38dc3fbac68624372bec6db \
25                rmd160 280adfcd45c291d5bd45fbc5d5a9b0585374e4e0
26
27depends_build   port:apache-ant \
28                bin:javac:kaffe
29
30use_configure   no
31
32build           { }
33
34destroot        {
35        xinstall -m 755 -d ${destroot}${prefix}/share/java/ \
36                ${destroot}${prefix}/share/doc/${name}
37        xinstall -m 644 ${worksrcpath}/log4j-${version}.jar \
38                ${destroot}${prefix}/share/java/jakarta-log4j.jar
39        foreach f {LICENSE NOTICE contribs examples site} {
40                file copy ${worksrcpath}/${f} \
41                        ${destroot}${prefix}/share/doc/${name}/${f}
42        }
43        ln -s site/apidocs ${destroot}${prefix}/share/doc/${name}/api
44}
45
46livecheck.type  regex
47livecheck.url   http://apache.crihan.fr/dist/logging/log4j/
48livecheck.regex {>(\d+(?:\.\d+)*)\/}
Note: See TracBrowser for help on using the repository browser.