mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.6 KiB
Tcl
50 lines
1.6 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name jakarta-log4j
|
|
version 1.2.17
|
|
revision 1
|
|
|
|
categories java devel
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
supported_archs noarch
|
|
platforms any
|
|
|
|
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 https://logging.apache.org/log4j/1.2/
|
|
|
|
distname log4j-${version}
|
|
master_sites apache:logging/log4j/${version}
|
|
|
|
checksums rmd160 286d6678b9cec82c9f5e707b1f9da23eb2b6870c \
|
|
sha256 a528e3771ee6234661b5eb0fa02e14faee89dfec38de94088c163ddf2a0a8663 \
|
|
size 2864448
|
|
|
|
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
|
|
}
|
|
|
|
# EOL
|
|
livecheck.type none
|