From 3bbbcae687400dfb0aa8d6fc44e325f206e7d559 Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Mon, 7 Oct 2019 22:37:41 +0000 Subject: Rename jakarta-commons-lang3 to apache-commons-lang3 and upgrade to version 3.8.1. Version 3.9 is out, but requires java 8. Update pkg-descr. --- java/apache-commons-lang3/Makefile | 38 +++++++++++++++++++++++++++++++++++++ java/apache-commons-lang3/distinfo | 3 +++ java/apache-commons-lang3/pkg-descr | 12 ++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 java/apache-commons-lang3/Makefile create mode 100644 java/apache-commons-lang3/distinfo create mode 100644 java/apache-commons-lang3/pkg-descr (limited to 'java/apache-commons-lang3') diff --git a/java/apache-commons-lang3/Makefile b/java/apache-commons-lang3/Makefile new file mode 100644 index 000000000000..96ff0d0b4fde --- /dev/null +++ b/java/apache-commons-lang3/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= commons-lang3 +PORTVERSION= 3.8.1 +CATEGORIES= java devel +MASTER_SITES= APACHE_COMMONS_BINARIES/lang +PKGNAMEPREFIX= apache- +DISTNAME= ${PORTNAME}-${PORTVERSION}-bin + +MAINTAINER= truckman@FreeBSD.org +COMMENT= Apache library with helper utilities for the java.lang API + +LICENSE= APACHE20 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_JAVA= yes +JAVA_VERSION= 1.7+ +NO_BUILD= yes +NO_ARCH= yes + +JARFILE= ${PORTNAME}-${PORTVERSION}.jar +DESTJARFILE= ${PORTNAME}.jar +PLIST_FILES= ${JAVAJARDIR}/${JARFILE} \ + ${JAVAJARDIR}/${DESTJARFILE} +PORTDOCS= * + +OPTIONS_DEFINE= DOCS +DOCS_ALL_TARGET= javadoc + +do-install: + ${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR} + ${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE} + +do-install-DOCS-on: + (cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +.include diff --git a/java/apache-commons-lang3/distinfo b/java/apache-commons-lang3/distinfo new file mode 100644 index 000000000000..b3578b9018f9 --- /dev/null +++ b/java/apache-commons-lang3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1570484889 +SHA256 (commons-lang3-3.8.1-bin.tar.gz) = 56fab92fb3e8a84385cac0d579bb85aa0bdb9f26f975a74a73d63edc121e7ff5 +SIZE (commons-lang3-3.8.1-bin.tar.gz) = 5445032 diff --git a/java/apache-commons-lang3/pkg-descr b/java/apache-commons-lang3/pkg-descr new file mode 100644 index 000000000000..348adf500984 --- /dev/null +++ b/java/apache-commons-lang3/pkg-descr @@ -0,0 +1,12 @@ +The standard Java libraries fail to provide enough methods for +manipulation of its core classes. Apache Commons Lang provides these +extra methods. + +Lang provides a host of helper utilities for the java.lang API, +notably String manipulation methods, basic numerical methods, object +reflection, concurrency, creation and serialization and System +properties. Additionally it contains basic enhancements to +java.util.Date and a series of utilities dedicated to help with +building methods, such as hashCode, toString and equals. + +WWW: http://commons.apache.org/proper/commons-lang/ -- cgit v1.3