a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name jakarta-log4j
version 1.2.14
categories java devel
platforms darwin
maintainers nomaintainer@macports.org
description Java logging API
long_description With log4j it is possible to enable logging at runtime \
without modifying the application binary. The log4j \
package is designed so that these statements can \
remain in shipped code without incurring a heavy \
performance cost. Logging behavior can be controlled \
by editing a configuration file, without touching \
the application binary.
homepage http://logging.apache.org/
distname logging-log4j-${version}
master_sites apache:logging/log4j/${version}
checksums md5 7d8d02888b93e6f8d67b8e5f746196ae
depends_build port:apache-ant \
bin:javac:kaffe
use_configure no
build.cmd ant
build.target log4j.jar javadoc
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java/ \
${destroot}${prefix}/share/doc/
xinstall -m 644 ${worksrcpath}/dist/lib/log4j-${version}.jar \
${destroot}${prefix}/share/java/jakarta-log4j.jar
file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
}