You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name commons-logging
|
|
version 1.3.6
|
|
|
|
categories java
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
|
|
description Apache Commons-Logging
|
|
long_description Commons-Logging is a wrapper around a variety of \
|
|
logging API implementations.
|
|
homepage https://commons.apache.org/logging/
|
|
|
|
distname ${name}-${version}-src
|
|
master_sites apache:commons/logging/source/
|
|
checksums rmd160 e4269ac100b8ee2951d7e7d90fbab6465f5f486a \
|
|
sha256 9f479865de3e1235e7e0c64ef466f8690a47faecfd397b2d23e20cb561b063e0 \
|
|
size 197037
|
|
|
|
depends_build bin:mvn3:maven3
|
|
|
|
use_configure no
|
|
set maven_local_repository ${worksrcpath}/.m2/repository
|
|
|
|
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
|
|
|
|
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
|
|
xinstall -m 644 ${worksrcpath}/target/commons-logging-${version}-api.jar \
|
|
${destroot}${prefix}/share/java/commons-logging-api.jar
|
|
xinstall -m 644 ${worksrcpath}/target/commons-logging-${version}-adapters.jar \
|
|
${destroot}${prefix}/share/java/commons-logging-adapters.jar
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url https://commons.apache.org/proper/commons-logging/download_logging.cgi
|
|
livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
|