Files

52 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2004-10-05 14:51:05 +00:00
PortSystem 1.0
2019-08-01 22:14:33 -05:00
name commons-logging
2026-03-24 21:08:22 +01:00
version 1.3.6
2004-10-05 14:51:05 +00:00
2019-08-01 22:14:33 -05:00
categories java
license Apache-2
maintainers nomaintainer
platforms darwin
2004-10-05 14:51:05 +00:00
description Apache Commons-Logging
2019-08-01 22:14:33 -05:00
long_description Commons-Logging is a wrapper around a variety of \
logging API implementations.
homepage https://commons.apache.org/logging/
2004-10-05 14:51:05 +00:00
2019-08-01 22:14:33 -05:00
distname ${name}-${version}-src
master_sites apache:commons/logging/source/
2026-03-24 21:08:22 +01:00
checksums rmd160 e4269ac100b8ee2951d7e7d90fbab6465f5f486a \
sha256 9f479865de3e1235e7e0c64ef466f8690a47faecfd397b2d23e20cb561b063e0 \
size 197037
2026-02-21 20:53:11 +01:00
depends_build bin:mvn3:maven3
2004-10-05 14:51:05 +00:00
2019-08-01 22:14:33 -05:00
use_configure no
2026-02-21 20:53:11 +01:00
set maven_local_repository ${worksrcpath}/.m2/repository
2019-08-01 22:14:33 -05:00
2026-02-21 20:53:11 +01:00
pre-build {
file mkdir ${maven_local_repository}
}
build.cmd mvn3
build.target "package"
build.pre_args-append \
-Dmaven.repo.local=${maven_local_repository} \
-DskipTests \
-Drat.skip=true
2019-08-01 22:14:33 -05:00
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc
xinstall -m 644 ${worksrcpath}/target/commons-logging-${version}.jar \
${destroot}${prefix}/share/java/commons-logging.jar
2026-02-21 20:53:11 +01:00
xinstall -m 644 ${worksrcpath}/target/commons-logging-${version}-api.jar \
2019-08-01 22:14:33 -05:00
${destroot}${prefix}/share/java/commons-logging-api.jar
2026-02-21 20:53:11 +01:00
xinstall -m 644 ${worksrcpath}/target/commons-logging-${version}-adapters.jar \
${destroot}${prefix}/share/java/commons-logging-adapters.jar
2004-10-05 14:51:05 +00:00
}
2007-04-23 23:58:22 +00:00
livecheck.type regex
livecheck.url https://commons.apache.org/proper/commons-logging/download_logging.cgi
2007-04-23 23:58:22 +00:00
livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"