aboutsummaryrefslogtreecommitdiff
path: root/java/apache-commons-pool
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2019-12-12 09:52:10 +0000
committerAlex Dupre <ale@FreeBSD.org>2019-12-12 09:52:10 +0000
commitc59c2622bd4a54cdc1cec3981930180fd8134084 (patch)
tree48b036ca87f3dc8bc395675146b7feeb9f4559f1 /java/apache-commons-pool
parent9621bb3a53fb59aac519f9b10afae261aef6401d (diff)
Notes
Diffstat (limited to 'java/apache-commons-pool')
-rw-r--r--java/apache-commons-pool/Makefile46
-rw-r--r--java/apache-commons-pool/distinfo3
-rw-r--r--java/apache-commons-pool/pkg-descr9
3 files changed, 58 insertions, 0 deletions
diff --git a/java/apache-commons-pool/Makefile b/java/apache-commons-pool/Makefile
new file mode 100644
index 000000000000..c5aac965842e
--- /dev/null
+++ b/java/apache-commons-pool/Makefile
@@ -0,0 +1,46 @@
+# Created by: Anton Yudin <toha@toha.org.ua>
+# $FreeBSD$
+
+PORTNAME= commons-pool
+PORTVERSION= 2.8.0
+CATEGORIES= java devel
+MASTER_SITES= APACHE_COMMONS_BINARIES
+PKGNAMEPREFIX= apache-
+DISTNAME= ${PORTNAME}2-${PORTVERSION}-bin
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= Apache Commons Object-pooling API
+
+LICENSE= APACHE20
+
+OPTIONS_DEFINE= DOCS
+
+USE_JAVA= yes
+JAVA_VERSION= 8+
+NO_BUILD= yes
+NO_ARCH= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}2-${PORTVERSION}
+
+JARFILE= ${PORTNAME}2-${PORTVERSION}.jar
+DOCFILES= LICENSE.txt \
+ NOTICE.txt \
+ RELEASE-NOTES.txt
+
+PORTDOCS= *
+PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar \
+ ${JAVAJARDIR}/${JARFILE}
+
+.include <bsd.port.options.mk>
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
+ ${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+.if ${PORT_OPTIONS:MDOCS}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR}
+.for FILE in ${DOCFILES}
+ ${INSTALL_MAN} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/java/apache-commons-pool/distinfo b/java/apache-commons-pool/distinfo
new file mode 100644
index 000000000000..3c59ece2c93b
--- /dev/null
+++ b/java/apache-commons-pool/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1576143940
+SHA256 (commons-pool2-2.8.0-bin.tar.gz) = 419866a5ef492671424d1e4c7f4ffb7e46fcd4e7bd9464d00d43d5c640beea08
+SIZE (commons-pool2-2.8.0-bin.tar.gz) = 1226895
diff --git a/java/apache-commons-pool/pkg-descr b/java/apache-commons-pool/pkg-descr
new file mode 100644
index 000000000000..bd6737dd1e5c
--- /dev/null
+++ b/java/apache-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://commons.apache.org/pool/