# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup java 1.0 name commons-text version 1.14.0 revision 0 checksums rmd160 67a08cd705852a322d7b540d099b6f13fb121da1 \ sha256 8a95feefae657229e09c19a09ce3d11138bb4e929431f2d8cbb9ab9ff02fec17 \ size 365401 categories java license Apache-2 maintainers nomaintainer platforms any supported_archs noarch description Apache Commons Text long_description Apache Commons Text is a library focused on \ algorithms working on strings. homepage https://commons.apache.org/proper/commons-text/ distname ${name}-${version}-src master_sites apache:commons/text/source/ 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 site build.pre_args -Dmaven.repo.local=${maven_local_repository} \ -Drat.ignoreErrors=true \ -DskipTests destroot { xinstall -m 0755 -d ${destroot}${prefix}/share/java xinstall -m 0644 ${worksrcpath}/target/${name}-${version}.jar \ ${destroot}${prefix}/share/java/${name}.jar } livecheck.type regex livecheck.url https://commons.apache.org/proper/commons-text/download_text.cgi livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src\\.tar\\.gz"