summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/Makefile1
-rw-r--r--java/jakarta-commons-pool/Makefile51
-rw-r--r--java/jakarta-commons-pool/distinfo1
-rw-r--r--java/jakarta-commons-pool/pkg-descr9
-rw-r--r--java/jakarta-commons-pool/pkg-plist43
5 files changed, 105 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index b25ada4bd257..3f7448fe6265 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -31,6 +31,7 @@
SUBDIR += jakarta-commons-collections
SUBDIR += jakarta-commons-lang
SUBDIR += jakarta-commons-logging
+ SUBDIR += jakarta-commons-pool
SUBDIR += jakarta-log4j
SUBDIR += jakarta-oro
SUBDIR += jakarta-regexp
diff --git a/java/jakarta-commons-pool/Makefile b/java/jakarta-commons-pool/Makefile
new file mode 100644
index 000000000000..d877d5fa9a14
--- /dev/null
+++ b/java/jakarta-commons-pool/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: Jakarta Commons Pool
+# Date created: October 6, 2003
+# Whom: Anton Yudin <toha@toha.org.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= commons-pool
+PORTVERSION= 1.0.1
+CATEGORIES= java
+MASTER_SITES= http://www.apache.org/dist/jakarta/commons/pool/source/
+PKGNAMEPREFIX= jakarta-
+DISTNAME= pool-${PORTVERSION}-src
+DIST_SUBDIR= jakarta
+
+MAINTAINER= toha@toha.org.ua
+COMMENT= Jakarta Object-pooling API
+
+BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant
+
+USE_JAVA= 1.2+
+
+WRKSRC= ${WRKDIR}/commons-${DISTNAME}
+PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
+ANT?= ${LOCALBASE}/bin/ant
+.if defined(NOPORTDOCS)
+ANT_TARGET= dist-jar
+.else
+ANT_TARGET= dist-jar doc
+.endif
+JAVASHAREDIR= ${PREFIX}/share/java
+JARDIR= ${JAVASHAREDIR}/classes
+JARFILE= ${PORTNAME}.jar
+DESTJARFILE= ${PORTNAME}.jar
+
+do-build:
+ @cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
+
+do-install:
+ @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..."
+ @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE}
+ @${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-pool/distinfo b/java/jakarta-commons-pool/distinfo
new file mode 100644
index 000000000000..8573c24d1973
--- /dev/null
+++ b/java/jakarta-commons-pool/distinfo
@@ -0,0 +1 @@
+MD5 (jakarta/pool-1.0.1-src.tar.gz) = df9aaf5ee3e5d68abbee6eca0b8d037f
diff --git a/java/jakarta-commons-pool/pkg-descr b/java/jakarta-commons-pool/pkg-descr
new file mode 100644
index 000000000000..5aaed0ab4191
--- /dev/null
+++ b/java/jakarta-commons-pool/pkg-descr
@@ -0,0 +1,9 @@
+The Pool Component
+
+ Pool provides an Object-pooling API, with three major aspects:
+ 1. A generic object pool interface that clients and implementors can
+ use to provide easily interchangable pooling implementations.
+ 2. A toolkit for creating modular object pools.
+ 3. Several general purpose pool implementations.
+
+WWW: http://jakarta.apache.org/commons/pool
diff --git a/java/jakarta-commons-pool/pkg-plist b/java/jakarta-commons-pool/pkg-plist
new file mode 100644
index 000000000000..39e649b8e554
--- /dev/null
+++ b/java/jakarta-commons-pool/pkg-plist
@@ -0,0 +1,43 @@
+share/doc/commons-pool/allclasses-frame.html
+share/doc/commons-pool/allclasses-noframe.html
+share/doc/commons-pool/constant-values.html
+share/doc/commons-pool/index-all.html
+share/doc/commons-pool/index.html
+share/doc/commons-pool/org/apache/commons/pool/BaseKeyedObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/BaseKeyedPoolableObjectFactory.html
+share/doc/commons-pool/org/apache/commons/pool/BaseObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/BasePoolableObjectFactory.html
+share/doc/commons-pool/org/apache/commons/pool/KeyedObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/KeyedObjectPoolFactory.html
+share/doc/commons-pool/org/apache/commons/pool/KeyedPoolableObjectFactory.html
+share/doc/commons-pool/org/apache/commons/pool/ObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/ObjectPoolFactory.html
+share/doc/commons-pool/org/apache/commons/pool/PoolableObjectFactory.html
+share/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPool.Config.html
+share/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPoolFactory.html
+share/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPool.Config.html
+share/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPoolFactory.html
+share/doc/commons-pool/org/apache/commons/pool/impl/SoftReferenceObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/impl/StackKeyedObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/impl/StackKeyedObjectPoolFactory.html
+share/doc/commons-pool/org/apache/commons/pool/impl/StackObjectPool.html
+share/doc/commons-pool/org/apache/commons/pool/impl/StackObjectPoolFactory.html
+share/doc/commons-pool/org/apache/commons/pool/impl/package-frame.html
+share/doc/commons-pool/org/apache/commons/pool/impl/package-summary.html
+share/doc/commons-pool/org/apache/commons/pool/package-frame.html
+share/doc/commons-pool/org/apache/commons/pool/package-summary.html
+share/doc/commons-pool/overview-frame.html
+share/doc/commons-pool/overview-summary.html
+share/doc/commons-pool/package-list
+share/doc/commons-pool/packages.html
+share/doc/commons-pool/serialized-form.html
+share/doc/commons-pool/stylesheet.css
+share/java/classes/commons-pool.jar
+@dirrm share/doc/commons-pool/org/apache/commons/pool/impl
+@dirrm share/doc/commons-pool/org/apache/commons/pool
+@dirrm share/doc/commons-pool/org/apache/commons
+@dirrm share/doc/commons-pool/org/apache
+@dirrm share/doc/commons-pool/org
+@dirrm share/doc/commons-pool