aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-commons-lang
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-10-19 04:09:46 +0800
committerznerd <znerd@FreeBSD.org>2002-10-19 04:09:46 +0800
commitc767fa0ede1e9243a70e5c665bfcb17dbe09746e (patch)
tree48514dd28ee3f9ca642896992325b57fe1469c86 /java/jakarta-commons-lang
parent676d7a421a8a00bd3710bceb8347c232e0a656b2 (diff)
downloadfreebsd-ports-gnome-c767fa0ede1e9243a70e5c665bfcb17dbe09746e.tar.gz
freebsd-ports-gnome-c767fa0ede1e9243a70e5c665bfcb17dbe09746e.tar.zst
freebsd-ports-gnome-c767fa0ede1e9243a70e5c665bfcb17dbe09746e.zip
New port: Jakarta Commons Lang.
See: http://jakarta.apache.org/commons/lang.html
Diffstat (limited to 'java/jakarta-commons-lang')
-rw-r--r--java/jakarta-commons-lang/Makefile51
-rw-r--r--java/jakarta-commons-lang/distinfo1
-rw-r--r--java/jakarta-commons-lang/pkg-comment1
-rw-r--r--java/jakarta-commons-lang/pkg-descr13
-rw-r--r--java/jakarta-commons-lang/pkg-plist65
5 files changed, 131 insertions, 0 deletions
diff --git a/java/jakarta-commons-lang/Makefile b/java/jakarta-commons-lang/Makefile
new file mode 100644
index 000000000000..b3971ce8f6c1
--- /dev/null
+++ b/java/jakarta-commons-lang/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: Jakarta Commons Lang
+# Date created: October 18, 2002
+# Whom: Ernst de Haan <znerd@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= commons-lang
+PORTVERSION= 1.0
+CATEGORIES= java
+MASTER_SITES= http://jakarta.apache.org/builds/jakarta-commons/release/${PORTNAME}/v${PORTVERSION}/
+PKGNAMEPREFIX= jakarta-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= znerd@FreeBSD.org
+
+BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/jakarta-ant
+
+USE_JAVA= 1.2+
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/lang
+PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
+ANT?= ${LOCALBASE}/bin/ant
+.if defined(NOPORTDOCS)
+ANT_TARGET= jar
+.else
+ANT_TARGET= jar javadoc
+.endif
+JAVASHAREDIR= ${PREFIX}/share/java
+JARDIR= ${JAVASHAREDIR}/classes
+JARFILE= ${PORTNAME}-${PORTVERSION}.jar
+
+post-patch:
+ @${CP} ${WRKSRC}/LICENSE.txt ${WRKSRC}/../LICENSE
+
+do-build:
+ @cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
+
+do-install:
+ @${ECHO} -n ">> Installing JAR as ${JARDIR}/${JARFILE}.jar..."
+ @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/
+ @${ECHO} " [ DONE ]"
+
+.if !defined(NOPORTDOCS)
+ @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR}
+ @${ECHO} " [ DONE ]"
+.endif
+
+.include <bsd.port.mk>
diff --git a/java/jakarta-commons-lang/distinfo b/java/jakarta-commons-lang/distinfo
new file mode 100644
index 000000000000..1bb96264304d
--- /dev/null
+++ b/java/jakarta-commons-lang/distinfo
@@ -0,0 +1 @@
+MD5 (commons-lang-1.0-src.tar.gz) = d367df1f903c5b6d6a5f24d51db0df5d
diff --git a/java/jakarta-commons-lang/pkg-comment b/java/jakarta-commons-lang/pkg-comment
new file mode 100644
index 000000000000..3f2f31913a52
--- /dev/null
+++ b/java/jakarta-commons-lang/pkg-comment
@@ -0,0 +1 @@
+Jakarta library with helper utilities for the java.lang API
diff --git a/java/jakarta-commons-lang/pkg-descr b/java/jakarta-commons-lang/pkg-descr
new file mode 100644
index 000000000000..b4df88f0f888
--- /dev/null
+++ b/java/jakarta-commons-lang/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.html
diff --git a/java/jakarta-commons-lang/pkg-plist b/java/jakarta-commons-lang/pkg-plist
new file mode 100644
index 000000000000..a23b3dffbc7a
--- /dev/null
+++ b/java/jakarta-commons-lang/pkg-plist
@@ -0,0 +1,65 @@
+share/doc/commons-lang/org/apache/commons/lang/builder/ToStringStyle.SimpleToStringStyle.html
+share/doc/commons-lang/org/apache/commons/lang/builder/package-tree.html
+share/doc/commons-lang/org/apache/commons/lang/builder/package-frame.html
+share/doc/commons-lang/org/apache/commons/lang/builder/CompareToBuilder.html
+share/doc/commons-lang/org/apache/commons/lang/builder/EqualsBuilder.html
+share/doc/commons-lang/org/apache/commons/lang/builder/HashCodeBuilder.html
+share/doc/commons-lang/org/apache/commons/lang/builder/StandardToStringStyle.html
+share/doc/commons-lang/org/apache/commons/lang/builder/ToStringBuilder.html
+share/doc/commons-lang/org/apache/commons/lang/builder/ToStringStyle.html
+share/doc/commons-lang/org/apache/commons/lang/builder/ToStringStyle.DefaultToStringStyle.html
+share/doc/commons-lang/org/apache/commons/lang/builder/ToStringStyle.MultiLineToStringStyle.html
+share/doc/commons-lang/org/apache/commons/lang/builder/ToStringStyle.NoFieldNameToStringStyle.html
+share/doc/commons-lang/org/apache/commons/lang/builder/package-summary.html
+share/doc/commons-lang/org/apache/commons/lang/enum/Enum.html
+share/doc/commons-lang/org/apache/commons/lang/enum/package-tree.html
+share/doc/commons-lang/org/apache/commons/lang/enum/package-frame.html
+share/doc/commons-lang/org/apache/commons/lang/enum/package-summary.html
+share/doc/commons-lang/org/apache/commons/lang/enum/Enum.Entry.html
+share/doc/commons-lang/org/apache/commons/lang/enum/EnumUtils.html
+share/doc/commons-lang/org/apache/commons/lang/enum/ValuedEnum.html
+share/doc/commons-lang/org/apache/commons/lang/exception/NestableError.html
+share/doc/commons-lang/org/apache/commons/lang/exception/package-tree.html
+share/doc/commons-lang/org/apache/commons/lang/exception/package-frame.html
+share/doc/commons-lang/org/apache/commons/lang/exception/Nestable.html
+share/doc/commons-lang/org/apache/commons/lang/exception/ExceptionUtils.html
+share/doc/commons-lang/org/apache/commons/lang/exception/NestableDelegate.html
+share/doc/commons-lang/org/apache/commons/lang/exception/NestableException.html
+share/doc/commons-lang/org/apache/commons/lang/exception/NestableRuntimeException.html
+share/doc/commons-lang/org/apache/commons/lang/exception/package-summary.html
+share/doc/commons-lang/org/apache/commons/lang/CharRange.html
+share/doc/commons-lang/org/apache/commons/lang/CharSet.html
+share/doc/commons-lang/org/apache/commons/lang/CharSetUtils.html
+share/doc/commons-lang/org/apache/commons/lang/NumberRange.html
+share/doc/commons-lang/org/apache/commons/lang/NumberUtils.html
+share/doc/commons-lang/org/apache/commons/lang/ObjectUtils.html
+share/doc/commons-lang/org/apache/commons/lang/ObjectUtils.Null.html
+share/doc/commons-lang/org/apache/commons/lang/RandomStringUtils.html
+share/doc/commons-lang/org/apache/commons/lang/SerializationUtils.html
+share/doc/commons-lang/org/apache/commons/lang/StringUtils.html
+share/doc/commons-lang/org/apache/commons/lang/SystemUtils.html
+share/doc/commons-lang/org/apache/commons/lang/package-summary.html
+share/doc/commons-lang/org/apache/commons/lang/SerializationException.html
+share/doc/commons-lang/org/apache/commons/lang/package-tree.html
+share/doc/commons-lang/org/apache/commons/lang/package-frame.html
+share/doc/commons-lang/serialized-form.html
+share/doc/commons-lang/packages.html
+share/doc/commons-lang/package-list
+share/doc/commons-lang/overview-tree.html
+share/doc/commons-lang/overview-summary.html
+share/doc/commons-lang/overview-frame.html
+share/doc/commons-lang/index.html
+share/doc/commons-lang/index-all.html
+share/doc/commons-lang/help-doc.html
+share/doc/commons-lang/deprecated-list.html
+share/doc/commons-lang/stylesheet.css
+share/doc/commons-lang/allclasses-frame.html
+share/java/classes/commons-lang-1.0.jar
+@dirrm share/doc/commons-lang/org/apache/commons/lang/builder
+@dirrm share/doc/commons-lang/org/apache/commons/lang/enum
+@dirrm share/doc/commons-lang/org/apache/commons/lang/exception
+@dirrm share/doc/commons-lang/org/apache/commons/lang
+@dirrm share/doc/commons-lang/org/apache/commons
+@dirrm share/doc/commons-lang/org/apache
+@dirrm share/doc/commons-lang/org
+@dirrm share/doc/commons-lang