summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2017-09-29 09:07:40 +0000
committertruckman <truckman@FreeBSD.org>2017-09-29 09:07:40 +0000
commite66a9f81d60e2f1d9a40c384e857c0025e7e4eb1 (patch)
tree0d08e238eeb97b467c3314b680dce0840424f1f0
parent9eccc8472eb48e5aea524eb9dd41e611e6940c26 (diff)
downloadFreeBSD-ports-e66a9f81d60e2f1d9a40c384e857c0025e7e4eb1.zip
FreeBSD-ports-e66a9f81d60e2f1d9a40c384e857c0025e7e4eb1.tar.gz
New port jakarta-commons-lang3.
This is a repo-copy of jakarta-commons-lang, updated to revision 3.4. It can co-exist with jakarta-commons-lang. The newest version upstream is actually 3.6, but support for using apache-ant to build was dropped between 3.4 and 3.5. Apache OpenOffice 4.2.0 will require 3.3+. Add NO_ARCH. Modernize by using option helpers. Get rid of the JDK_API!= stuff, which looks like it no longer did anything useful.
-rw-r--r--java/Makefile1
-rw-r--r--java/jakarta-commons-lang3/Makefile37
-rw-r--r--java/jakarta-commons-lang3/distinfo3
-rw-r--r--java/jakarta-commons-lang3/pkg-descr13
4 files changed, 54 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index df73b87..54a8f6c 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -49,6 +49,7 @@
SUBDIR += jakarta-commons-discovery
SUBDIR += jakarta-commons-httpclient
SUBDIR += jakarta-commons-lang
+ SUBDIR += jakarta-commons-lang3
SUBDIR += jakarta-commons-logging
SUBDIR += jakarta-commons-pool
SUBDIR += jakarta-commons-primitives
diff --git a/java/jakarta-commons-lang3/Makefile b/java/jakarta-commons-lang3/Makefile
new file mode 100644
index 0000000..5c53b9d
--- /dev/null
+++ b/java/jakarta-commons-lang3/Makefile
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= commons-lang3
+PORTVERSION= 3.4
+CATEGORIES= java devel
+MASTER_SITES= APACHE_COMMONS_SOURCE
+PKGNAMEPREFIX= jakarta-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= truckman@FreeBSD.org
+COMMENT= Jakarta library with helper utilities for the java.lang API
+
+LICENSE= APACHE20
+
+USE_JAVA= yes
+JAVA_VERSION= 1.7+
+USE_ANT= yes
+ALL_TARGET= jar
+NO_ARCH= yes
+
+JARFILE= ${PORTNAME}-${PORTVERSION}.jar
+DESTJARFILE= ${PORTNAME}.jar
+PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+DOCS_ALL_TARGET= javadoc
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} \
+ ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
+
+do-install-DOCS-on:
+ (cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>
diff --git a/java/jakarta-commons-lang3/distinfo b/java/jakarta-commons-lang3/distinfo
new file mode 100644
index 0000000..7078cfa
--- /dev/null
+++ b/java/jakarta-commons-lang3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506639758
+SHA256 (commons-lang3-3.4-src.tar.gz) = 6f9a16e264aec59e4c7148763223480171f756f020d7a30aa617caabd382fa76
+SIZE (commons-lang3-3.4-src.tar.gz) = 771275
diff --git a/java/jakarta-commons-lang3/pkg-descr b/java/jakarta-commons-lang3/pkg-descr
new file mode 100644
index 0000000..f3201fc
--- /dev/null
+++ b/java/jakarta-commons-lang3/pkg-descr
@@ -0,0 +1,13 @@
+The standard Java libraries fail to provide enough methods for
+manipulation of its core classes. The Lang Component provides
+these extra methods.
+
+The Lang Component provides a host of helper utilities for the
+java.lang API, notably String manipulation methods, basic
+numerical methods, object reflection, creation and serialization,
+and System properties. Additionally it contains an inheritable
+enum type, an exception structure that supports multiple types of
+nested-Exceptions and a series of utlities dedicated to help with
+building methods, such as hashCode, toString and equals.
+
+WWW: http://jakarta.apache.org/commons/lang/
OpenPOWER on IntegriCloud