Files
2026-05-05 15:48:05 -04:00

38 lines
1.1 KiB
Plaintext

PortSystem 1.0
PortGroup java 1.0
PortGroup maven 1.0
name commons-codec
version 1.22.0
categories java
license Apache-2
maintainers nomaintainer
description Jakarta Commons-Codec
long_description Commons Codec provides implementations of common encoders and \
decoders such as Base64, Hex, various phonetic encodings, and URLs.
homepage https://commons.apache.org/codec/
distname ${name}-${version}-src
master_sites apache:commons/codec/source/
checksums rmd160 26339cd533cc6836e3bb6e9c5ec9e7a96c320559 \
sha256 6339ca5b3e3f14549accb0b21743f89c2b93cbc08fbb2bb8a80540b6985cbf76 \
size 589200
java.version 11+
java.fallback openjdk11
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc
xinstall -m 644 \
${worksrcpath}/target/${name}-${version}.jar \
${destroot}${prefix}/share/java/
}
livecheck.type regex
livecheck.url https://commons.apache.org/proper/commons-codec/download_codec.cgi
livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"