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.
This commit is contained in:
parent
dbbfa74e5a
commit
5ba84086f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450886
@ -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
|
||||
|
37
java/jakarta-commons-lang3/Makefile
Normal file
37
java/jakarta-commons-lang3/Makefile
Normal file
@ -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>
|
3
java/jakarta-commons-lang3/distinfo
Normal file
3
java/jakarta-commons-lang3/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1506639758
|
||||
SHA256 (commons-lang3-3.4-src.tar.gz) = 6f9a16e264aec59e4c7148763223480171f756f020d7a30aa617caabd382fa76
|
||||
SIZE (commons-lang3-3.4-src.tar.gz) = 771275
|
13
java/jakarta-commons-lang3/pkg-descr
Normal file
13
java/jakarta-commons-lang3/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user