mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update to Apache Commons DBCP 2.7.0
PR: 239984 Approved by: ale@ (maintainer)
This commit is contained in:
parent
c07f70692d
commit
5e8ed00aeb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509484
2 changed files with 24 additions and 28 deletions
|
@ -2,51 +2,46 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= commons-dbcp
|
PORTNAME= commons-dbcp
|
||||||
PORTVERSION= 1.4
|
PORTVERSION= 2.7.0
|
||||||
CATEGORIES= java databases
|
CATEGORIES= java databases
|
||||||
MASTER_SITES= APACHE_COMMONS_SOURCE
|
MASTER_SITES= APACHE_COMMONS_BINARIES
|
||||||
PKGNAMEPREFIX= jakarta-
|
PKGNAMEPREFIX= jakarta-
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
DISTNAME= ${PORTNAME}2-${PORTVERSION}-bin
|
||||||
|
|
||||||
MAINTAINER= ale@FreeBSD.org
|
MAINTAINER= ale@FreeBSD.org
|
||||||
COMMENT= The DBCP Component
|
COMMENT= Apache Commons Database Connection Pool
|
||||||
|
|
||||||
LICENSE= APACHE20
|
LICENSE= APACHE20
|
||||||
|
|
||||||
BUILD_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:java/jakarta-commons-pool \
|
RUN_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:java/jakarta-commons-pool
|
||||||
${JAVALIBDIR}/jta.jar:java/jta
|
|
||||||
RUN_DEPENDS= ${JAVALIBDIR}/commons-pool.jar:java/jakarta-commons-pool \
|
|
||||||
${JAVALIBDIR}/jta.jar:java/jta
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
USE_JAVA= yes
|
USE_JAVA= yes
|
||||||
JAVA_VERSION= 1.6
|
JAVA_VERSION= 8
|
||||||
|
NO_BUILD= yes
|
||||||
|
|
||||||
USE_ANT= yes
|
WRKSRC= ${WRKDIR}/${PORTNAME}2-${PORTVERSION}
|
||||||
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
|
JARFILE= ${PORTNAME}2-${PORTVERSION}.jar
|
||||||
ALL_TARGET= build-jar
|
DOCFILES= LICENSE.txt \
|
||||||
|
NOTICE.txt \
|
||||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
README.txt \
|
||||||
|
RELEASE-NOTES.txt
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar \
|
||||||
|
${JAVAJARDIR}/${JARFILE}
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
|
||||||
ALL_TARGET+= javadoc
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${ECHO} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
|
${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
||||||
@${ECHO} " [ DONE ]"
|
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
|
cd ${WRKSRC} && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
.for FILE in ${DOCFILES}
|
||||||
@cd ${WRKSRC}/dist/docs && ${FIND} api \
|
${INSTALL_MAN} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
||||||
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
|
.endfor
|
||||||
@${ECHO} " [ DONE ]"
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
SHA256 (commons-dbcp-1.4-src.tar.gz) = f5f10846e79fc71121fe7402c61d71575506b01b59e719e974ebc4d99e6df283
|
TIMESTAMP = 1566283829
|
||||||
SIZE (commons-dbcp-1.4-src.tar.gz) = 932507
|
SHA256 (commons-dbcp2-2.7.0-bin.tar.gz) = 35a4b7c41382a643dcfe07592f93cf58b537abdddd0778c229b7e77d0bb5053f
|
||||||
|
SIZE (commons-dbcp2-2.7.0-bin.tar.gz) = 1869315
|
||||||
|
|
Loading…
Add table
Reference in a new issue