aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-commons-pool
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2003-10-06 16:27:58 +0800
committerznerd <znerd@FreeBSD.org>2003-10-06 16:27:58 +0800
commitd34499f4ed0e6ae125527c3aabb3192b6cbe6a57 (patch)
treef0c50c8c2a8f19a30d32b8494654fc1918a97c1d /java/jakarta-commons-pool
parentf458269d408bca10a2a7c2e223e852f9d32e14be (diff)
downloadfreebsd-ports-graphics-d34499f4ed0e6ae125527c3aabb3192b6cbe6a57.tar.gz
freebsd-ports-graphics-d34499f4ed0e6ae125527c3aabb3192b6cbe6a57.tar.zst
freebsd-ports-graphics-d34499f4ed0e6ae125527c3aabb3192b6cbe6a57.zip
New port: Jakarta Commons Pool.
PR: 57573 Submitted by: Anton Yudin <toha@toha.org.ua>
Diffstat (limited to 'java/jakarta-commons-pool')
-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
4 files changed, 104 insertions, 0 deletions
diff --git a/java/jakarta-commons-pool/Makefile b/java/jakarta-commons-pool/Makefile
new file mode 100644
index 00000000000..d877d5fa9a1
--- /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 00000000000..8573c24d197
--- /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 00000000000..5aaed0ab419
--- /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 00000000000..39e649b8e55
--- /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