aboutsummaryrefslogtreecommitdiff
path: root/java/jakarta-commons-pool
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2010-11-11 15:38:05 +0000
committerAlex Dupre <ale@FreeBSD.org>2010-11-11 15:38:05 +0000
commit9bdf4fb5d6a303fcda46be9d03e6257fcb10e1ca (patch)
treeafed2340c2497fd5c600750a738c26e16152ca33 /java/jakarta-commons-pool
parent52aab444593f23cdcb657b52bd32bc02693ac5a1 (diff)
downloadports-9bdf4fb5d6a303fcda46be9d03e6257fcb10e1ca.tar.gz
ports-9bdf4fb5d6a303fcda46be9d03e6257fcb10e1ca.zip
Notes
Diffstat (limited to 'java/jakarta-commons-pool')
-rw-r--r--java/jakarta-commons-pool/Makefile31
-rw-r--r--java/jakarta-commons-pool/distinfo5
-rw-r--r--java/jakarta-commons-pool/pkg-descr5
3 files changed, 19 insertions, 22 deletions
diff --git a/java/jakarta-commons-pool/Makefile b/java/jakarta-commons-pool/Makefile
index e369813a9f08..34f93dccc763 100644
--- a/java/jakarta-commons-pool/Makefile
+++ b/java/jakarta-commons-pool/Makefile
@@ -6,43 +6,38 @@
#
PORTNAME= commons-pool
-PORTVERSION= 1.3
-PORTREVISION= 2
+PORTVERSION= 1.5.5
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
PKGNAMEPREFIX= jakarta-
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-MAINTAINER= toha@toha.org.ua
+MAINTAINER= ale@FreeBSD.org
COMMENT= Jakarta Object-pooling API
USE_JAVA= yes
-JAVA_VERSION= 1.3+
+JAVA_VERSION= 1.4+
USE_ANT= yes
-MAKE_ENV+= ANT_INCLUDE_SHARED_JARS=YES
-.if defined(NOPORTDOCS)
ALL_TARGET= build-jar
-.else
-ALL_TARGET= build-jar javadoc
-PORTDOCS= *
+.if !defined(NOPORTDOCS)
+ALL_TARGET+= javadoc
.endif
-JARFILE= ${PORTNAME}-${PORTVERSION}.jar
-DESTJARFILE= ${PORTNAME}.jar
-PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
+PORTDOCS= *
+
+PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
do-install:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
- @${INSTALL_DATA} ${WRKSRC}/dist/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
+ @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
+ @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
-
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
- @cd ${WRKSRC}/dist/docs/api \
- && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
- && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/dist/docs && ${FIND} api \
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@${ECHO_MSG} " [ DONE ]"
.endif
diff --git a/java/jakarta-commons-pool/distinfo b/java/jakarta-commons-pool/distinfo
index f1a0d7d978a5..3212416089de 100644
--- a/java/jakarta-commons-pool/distinfo
+++ b/java/jakarta-commons-pool/distinfo
@@ -1,3 +1,2 @@
-MD5 (commons-pool-1.3-src.tar.gz) = a2dcdff75de2af76f5f2169494ed3499
-SHA256 (commons-pool-1.3-src.tar.gz) = 28c055168601cc57c8a4cff360b79b6409fabfd7275605031c43c7b06b978add
-SIZE (commons-pool-1.3-src.tar.gz) = 305175
+SHA256 (commons-pool-1.5.5-src.tar.gz) = 7b50e0e44d668116faea961ac295b212da5403820a13db23f92705d3fbb2f83f
+SIZE (commons-pool-1.5.5-src.tar.gz) = 315013
diff --git a/java/jakarta-commons-pool/pkg-descr b/java/jakarta-commons-pool/pkg-descr
index d36a73ccff56..699d0c9e4e7e 100644
--- a/java/jakarta-commons-pool/pkg-descr
+++ b/java/jakarta-commons-pool/pkg-descr
@@ -6,4 +6,7 @@ The Pool Component
2. A toolkit for creating modular object pools.
3. Several general purpose pool implementations.
-WWW: http://jakarta.apache.org/commons/pool/
+WWW: http://commons.apache.org/pool/
+
+- Alex Dupre
+ale@FreeBSD.org