You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
PortSystem 1.0
|
|
PortGroup java 1.0
|
|
|
|
name commons-pool
|
|
version 1.5.4
|
|
|
|
categories java
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
|
|
description Jakarta Commons-Pool
|
|
long_description Commons-Pool provides a generic object pooling \
|
|
interface, a toolkit for creating modular \
|
|
object pools and several general purpose \
|
|
pool implementations.
|
|
homepage https://commons.apache.org/pool/
|
|
|
|
distname ${name}-${version}-src
|
|
master_sites apache:commons/pool/source/
|
|
|
|
checksums md5 4216bb6eca49e7b3db9f287d7b0c0cd8 \
|
|
sha1 18279249c27fee5bdedeaff169b9d1b70d135839 \
|
|
rmd160 bb72683ef378e6e6741e6c6eea93b6077571edec
|
|
|
|
depends_build bin:ant:apache-ant
|
|
depends_lib bin:java:kaffe \
|
|
port:junit
|
|
|
|
use_configure no
|
|
|
|
worksrcdir ${name}-${version}-src
|
|
|
|
build.cmd ant
|
|
build.target dist
|
|
build.args -Djunit.jar=${prefix}/share/java/junit.jar
|
|
|
|
destroot {
|
|
xinstall -d ${destroot}${prefix}/share/java \
|
|
${destroot}${prefix}/share/doc
|
|
xinstall -m 644 ${worksrcpath}/dist/commons-pool.jar \
|
|
${destroot}${prefix}/share/java/commons-pool.jar
|
|
file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
|
|
file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url https://commons.apache.org/proper/commons-pool/download_pool.cgi
|
|
livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
|