1 | PortSystem 1.0 |
---|
2 | |
---|
3 | name commons-lang3 |
---|
4 | version 3.9 |
---|
5 | |
---|
6 | categories java |
---|
7 | license Apache-2 |
---|
8 | maintainers nomaintainer |
---|
9 | platforms darwin |
---|
10 | |
---|
11 | description Jakarta Commons-Lang |
---|
12 | long_description The Lang Component provides a host of helper utilities for \ |
---|
13 | the java.lang API, notably String manipulation methods, basic \ |
---|
14 | numerical methods, object reflection, creation and serialization, \ |
---|
15 | and System properties. Additionally it contains an inheritable \ |
---|
16 | enum type, an exception structure that supports multiple types \ |
---|
17 | of nested-Exceptions, basic enhancements to java.util.Date and \ |
---|
18 | a series of utlities dedicated to help with building methods, \ |
---|
19 | such as hashCode, toString and equals. |
---|
20 | homepage https://commons.apache.org/lang/ |
---|
21 | |
---|
22 | distname ${name}-${version}-src |
---|
23 | master_sites apache:commons/lang/source/ |
---|
24 | |
---|
25 | checksums md5 fa46417a24a40e78c608d0e90bd0670c \ |
---|
26 | sha1 a3a500d9968ec85cc7a070601860f72412be2ded \ |
---|
27 | rmd160 c63c683570ae7a1391434b7e238c2358cb63380b \ |
---|
28 | sha256 66415e0d1c843b04c61dea6b7e7e85a8f1469eaeb1174241622650aff7728e68 \ |
---|
29 | size 987753 |
---|
30 | |
---|
31 | depends_build bin:mvn3:maven3 |
---|
32 | |
---|
33 | use_configure no |
---|
34 | |
---|
35 | set maven_local_repository ${worksrcpath}/.m2/repository |
---|
36 | pre-build { |
---|
37 | file mkdir ${maven_local_repository} |
---|
38 | } |
---|
39 | |
---|
40 | build.cmd mvn3 |
---|
41 | build.target site |
---|
42 | build.pre_args -Dmaven.repo.local=${maven_local_repository} -Drat.ignoreErrors=true |
---|
43 | |
---|
44 | destroot { |
---|
45 | # Ensure needed directories |
---|
46 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
47 | ${destroot}${prefix}/share/doc |
---|
48 | |
---|
49 | # Install jar |
---|
50 | xinstall -m 644 ${worksrcpath}/target/${name}-${version}.jar \ |
---|
51 | ${destroot}${prefix}/share/java/${name}.jar |
---|
52 | } |
---|
53 | |
---|
54 | livecheck.type regex |
---|
55 | livecheck.url https://commons.apache.org/downloads/download_lang.cgi |
---|
56 | livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz" |
---|