<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3f89835ad39b3f55b70b9beb8916133a97003382">https://github.com/macports/macports-ports/commit/3f89835ad39b3f55b70b9beb8916133a97003382</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3f89835ad39b3f55b70b9beb8916133a97003382
</span>Author: someuser12 <macosx12345@yahoo.fr>
AuthorDate: Thu Jul 25 15:43:23 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> commons-lang3: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/58756
</span>---
java/commons-lang3/Portfile | 63 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/commons-lang3/Portfile b/java/commons-lang3/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..59208f3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/commons-lang3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,63 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup java 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name commons-lang3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Apache Commons Lang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description The Lang Component provides a host of helper utilities for \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ the java.lang API, notably String manipulation methods, basic \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ numerical methods, object reflection, creation and serialization, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and System properties. Additionally it contains an inheritable \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ enum type, an exception structure that supports multiple types \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of nested-Exceptions, basic enhancements to java.util.Date and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a series of utlities dedicated to help with building methods, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ such as hashCode, toString and equals.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://commons.apache.org/lang/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}-${version}-src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites apache:commons/lang/source/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 c63c683570ae7a1391434b7e238c2358cb63380b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 66415e0d1c843b04c61dea6b7e7e85a8f1469eaeb1174241622650aff7728e68 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 987753
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Currently has issues building on later JDK versions,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://github.com/macports/macports-ports/pull/4925#issuecomment-519172241
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#java.version 1.8+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.version 1.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.fallback openjdk8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build bin:mvn3:maven3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set maven_local_repository ${worksrcpath}/.m2/repository
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${maven_local_repository}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd mvn3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target site
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args -Dmaven.repo.local=${maven_local_repository} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Drat.ignoreErrors=true \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DskipTests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure needed directories
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${prefix}/share/java \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${worksrcpath}/target/${name}-${version}.jar \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/java/${name}.jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://commons.apache.org/proper/commons-lang/download_lang.cgi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
</span></pre><pre style='margin:0'>
</pre>