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.6 KiB
Tcl
52 lines
1.6 KiB
Tcl
# -*- 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.8
|
|
revision 0
|
|
checksums rmd160 0c1490897f0d35a06f94565112b69876433c1675 \
|
|
sha256 57f752fd297df04294da69201f9ca9104744c1bc240deb6f8a8044043a0d5a74 \
|
|
size 296557
|
|
|
|
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"
|