summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-11-14 09:02:09 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-11-14 09:02:09 +0000
commit7c9f4056a1eb94e31f373d503abb0b6648e5a345 (patch)
tree1d5605c5b393b407b08c487651f720fcb3501f9a
parentNot including version number in JAR file anymore. (diff)
New port: Jakarta Commons CLI library.
Java-library for command line arguments and options.
Notes
Notes: svn path=/head/; revision=70091
-rw-r--r--java/Makefile1
-rw-r--r--java/jakarta-commons-cli/Makefile50
-rw-r--r--java/jakarta-commons-cli/distinfo1
-rw-r--r--java/jakarta-commons-cli/pkg-comment1
-rw-r--r--java/jakarta-commons-cli/pkg-descr4
-rw-r--r--java/jakarta-commons-cli/pkg-plist85
6 files changed, 142 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index d9fc59ec63dc..9d6f19ba0fbf 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -16,6 +16,7 @@
SUBDIR += jad
SUBDIR += jaf
SUBDIR += jakarta-bcel
+ SUBDIR += jakarta-commons-cli
SUBDIR += jakarta-commons-collections
SUBDIR += jakarta-commons-lang
SUBDIR += jakarta-log4j
diff --git a/java/jakarta-commons-cli/Makefile b/java/jakarta-commons-cli/Makefile
new file mode 100644
index 000000000000..56a35039ffdb
--- /dev/null
+++ b/java/jakarta-commons-cli/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: Jakarta Commons Collections
+# Date created: October 18, 2002
+# Whom: Ernst de Haan <znerd@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= commons-cli
+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 \
+ ${LOCALBASE}/share/java/classes/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang
+
+USE_JAVA= 1.2+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/
+
+PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
+ANT?= ${LOCALBASE}/bin/ant
+.if defined(NOPORTDOCS)
+ANT_TARGET= jar -Dnoget
+.else
+ANT_TARGET= jar javadoc -Dnoget -verbose
+.endif
+JAVASHAREDIR= ${PREFIX}/share/java
+JARDIR= ${JAVASHAREDIR}/classes
+JARFILE= ${PORTNAME}.jar
+
+do-build:
+ @${MKDIR} ${WRKSRC}/lib
+ @cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
+
+do-install:
+ @${ECHO} -n ">> Installing JAR as ${JARDIR}/${JARFILE}..."
+ @${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-cli/distinfo b/java/jakarta-commons-cli/distinfo
new file mode 100644
index 000000000000..26d068447b69
--- /dev/null
+++ b/java/jakarta-commons-cli/distinfo
@@ -0,0 +1 @@
+MD5 (commons-cli-1.0-src.tar.gz) = ba34d585046b1f17dacbb13b377f4255
diff --git a/java/jakarta-commons-cli/pkg-comment b/java/jakarta-commons-cli/pkg-comment
new file mode 100644
index 000000000000..17f203b15a44
--- /dev/null
+++ b/java/jakarta-commons-cli/pkg-comment
@@ -0,0 +1 @@
+Java library for command line arguments and options
diff --git a/java/jakarta-commons-cli/pkg-descr b/java/jakarta-commons-cli/pkg-descr
new file mode 100644
index 000000000000..92c720c4d4f3
--- /dev/null
+++ b/java/jakarta-commons-cli/pkg-descr
@@ -0,0 +1,4 @@
+The Jakarta Commons CLI library provides a simple and easy to use
+API for working with the command line arguments and options.
+
+WWW: http://jakarta.apache.org/commons/cli/
diff --git a/java/jakarta-commons-cli/pkg-plist b/java/jakarta-commons-cli/pkg-plist
new file mode 100644
index 000000000000..4314c7365fea
--- /dev/null
+++ b/java/jakarta-commons-cli/pkg-plist
@@ -0,0 +1,85 @@
+share/doc/commons-collections/org/apache/commons/collections/iterators/UniqueFilterIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/package-frame.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/ArrayIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/CollatingIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/EnumerationIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/FilterIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/FilterListIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/IteratorChain.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/IteratorEnumeration.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/ListIteratorWrapper.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/ProxyIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/ProxyListIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/SingletonIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/SingletonListIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/TransformIterator.html
+share/doc/commons-collections/org/apache/commons/collections/iterators/package-summary.html
+share/doc/commons-collections/org/apache/commons/collections/comparators/ComparatorChain.html
+share/doc/commons-collections/org/apache/commons/collections/comparators/package-frame.html
+share/doc/commons-collections/org/apache/commons/collections/comparators/ComparableComparator.html
+share/doc/commons-collections/org/apache/commons/collections/comparators/package-summary.html
+share/doc/commons-collections/org/apache/commons/collections/comparators/NullComparator.html
+share/doc/commons-collections/org/apache/commons/collections/comparators/ReverseComparator.html
+share/doc/commons-collections/org/apache/commons/collections/comparators/TransformingComparator.html
+share/doc/commons-collections/org/apache/commons/collections/Bag.html
+share/doc/commons-collections/org/apache/commons/collections/Buffer.html
+share/doc/commons-collections/org/apache/commons/collections/Closure.html
+share/doc/commons-collections/org/apache/commons/collections/Factory.html
+share/doc/commons-collections/org/apache/commons/collections/MultiMap.html
+share/doc/commons-collections/org/apache/commons/collections/Predicate.html
+share/doc/commons-collections/org/apache/commons/collections/PriorityQueue.html
+share/doc/commons-collections/org/apache/commons/collections/SortedBag.html
+share/doc/commons-collections/org/apache/commons/collections/Transformer.html
+share/doc/commons-collections/org/apache/commons/collections/ArrayStack.html
+share/doc/commons-collections/org/apache/commons/collections/BagUtils.html
+share/doc/commons-collections/org/apache/commons/collections/BeanMap.html
+share/doc/commons-collections/org/apache/commons/collections/BeanMap.MyMapEntry.html
+share/doc/commons-collections/org/apache/commons/collections/BinaryHeap.html
+share/doc/commons-collections/org/apache/commons/collections/BoundedFifoBuffer.html
+share/doc/commons-collections/org/apache/commons/collections/BufferUtils.html
+share/doc/commons-collections/org/apache/commons/collections/CollectionUtils.html
+share/doc/commons-collections/org/apache/commons/collections/ComparatorUtils.html
+share/doc/commons-collections/org/apache/commons/collections/CursorableLinkedList.html
+share/doc/commons-collections/org/apache/commons/collections/CursorableLinkedList.Cursor.html
+share/doc/commons-collections/org/apache/commons/collections/DefaultMapBag.html
+share/doc/commons-collections/org/apache/commons/collections/DefaultMapEntry.html
+share/doc/commons-collections/org/apache/commons/collections/DoubleOrderedMap.html
+share/doc/commons-collections/org/apache/commons/collections/ExtendedProperties.html
+share/doc/commons-collections/org/apache/commons/collections/FastArrayList.html
+share/doc/commons-collections/org/apache/commons/collections/FastHashMap.html
+share/doc/commons-collections/org/apache/commons/collections/FastTreeMap.html
+share/doc/commons-collections/org/apache/commons/collections/HashBag.html
+share/doc/commons-collections/org/apache/commons/collections/IteratorUtils.html
+share/doc/commons-collections/org/apache/commons/collections/ListUtils.html
+share/doc/commons-collections/org/apache/commons/collections/LRUMap.html
+share/doc/commons-collections/org/apache/commons/collections/MapUtils.html
+share/doc/commons-collections/org/apache/commons/collections/MultiHashMap.html
+share/doc/commons-collections/org/apache/commons/collections/ProxyMap.html
+share/doc/commons-collections/org/apache/commons/collections/ReferenceMap.html
+share/doc/commons-collections/org/apache/commons/collections/SequencedHashMap.html
+share/doc/commons-collections/org/apache/commons/collections/SetUtils.html
+share/doc/commons-collections/org/apache/commons/collections/StaticBucketMap.html
+share/doc/commons-collections/org/apache/commons/collections/SynchronizedPriorityQueue.html
+share/doc/commons-collections/org/apache/commons/collections/TreeBag.html
+share/doc/commons-collections/org/apache/commons/collections/UnboundedFifoBuffer.html
+share/doc/commons-collections/org/apache/commons/collections/BufferOverflowException.html
+share/doc/commons-collections/org/apache/commons/collections/package-summary.html
+share/doc/commons-collections/org/apache/commons/collections/BufferUnderflowException.html
+share/doc/commons-collections/org/apache/commons/collections/package-frame.html
+share/doc/commons-collections/serialized-form.html
+share/doc/commons-collections/packages.html
+share/doc/commons-collections/package-list
+share/doc/commons-collections/overview-summary.html
+share/doc/commons-collections/overview-frame.html
+share/doc/commons-collections/index.html
+share/doc/commons-collections/index-all.html
+share/doc/commons-collections/stylesheet.css
+share/doc/commons-collections/allclasses-frame.html
+share/java/classes/commons-collections.jar
+@dirrm share/doc/commons-collections/org/apache/commons/collections/iterators
+@dirrm share/doc/commons-collections/org/apache/commons/collections/comparators
+@dirrm share/doc/commons-collections/org/apache/commons/collections
+@dirrm share/doc/commons-collections/org/apache/commons
+@dirrm share/doc/commons-collections/org/apache
+@dirrm share/doc/commons-collections/org
+@dirrm share/doc/commons-collections