# $Id: Portfile 66573 2010-04-17 03:20:47Z ryandesign@macports.org $ PortSystem 1.0 name jakarta-log4j version 1.2.16 categories java devel platforms darwin maintainers nomaintainer 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 apache-log4j-${version} master_sites apache:logging/log4j/${version} checksums md5 8e331a930d0b56280a1c66a00621b3a3 \ sha1 5d0547046eceedcd4bd9e816a93540dbf8f4ca93 \ rmd160 b80cd2d55e10322e7903ffb355d36c93daceece6 depends_build port:apache-ant \ bin:javac:kaffe use_configure no build { } destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java/ \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/log4j-${version}.jar \ ${destroot}${prefix}/share/java/jakarta-log4j.jar foreach f {LICENSE NOTICE contribs examples site} { file copy ${worksrcpath}/${f} \ ${destroot}${prefix}/share/doc/${name}/${f} } ln -s site/apidocs ${destroot}${prefix}/share/doc/${name}/api } livecheck.type regex livecheck.url http://apache.crihan.fr/dist/logging/log4j/ livecheck.regex {>(\d+(?:\.\d+)*)\/}