PortSystem 1.0
PortGroup			maven 1.0

name				commons-io
version				2.22.0

categories			java
license				Apache-2
maintainers			nomaintainer

description			Jakarta Commons-IO
long_description	Commons IO is a library of utilities to assist with developing IO functionality \
					from Java.
homepage			https://commons.apache.org/io/

distname			${name}-${version}-src
master_sites		apache:commons/io/source/
checksums           rmd160  7f6465f494a3913baa674f79f068c2517c866fe5 \
                    sha256  9a8e6d731e06edb10a35e2221aeea7f539b3ff4d5b90538bf119726e72644ff4 \
                    size    838797

destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/java
	xinstall -m 644 ${worksrcpath}/target/${name}-${version}.jar \
		${destroot}${prefix}/share/java/
}

livecheck.type  regex
livecheck.url   https://commons.apache.org/proper/commons-io/download_io.cgi
livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
