git: 5d3daeb240cd - main - textproc/apache-poi: upgrade to 5.2.3

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 21 Oct 2022 20:58:49 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d3daeb240cd773dce52d9aed7bb7cf584434137

commit 5d3daeb240cd773dce52d9aed7bb7cf584434137
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-10-21 20:26:58 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-10-21 20:56:58 +0000

    textproc/apache-poi: upgrade to 5.2.3
    
    Changelog at <https://poi.apache.org/changes.html>.
---
 textproc/apache-poi/Makefile | 23 ++++++++++++-----------
 textproc/apache-poi/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/textproc/apache-poi/Makefile b/textproc/apache-poi/Makefile
index af3f7a551655..5b888003ce14 100644
--- a/textproc/apache-poi/Makefile
+++ b/textproc/apache-poi/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	poi
-PORTVERSION=	4.1.2
+PORTVERSION=	5.2.3
 CATEGORIES=	textproc devel java
 MASTER_SITES=	https://archive.apache.org/dist/${PORTNAME}/release/bin/
 PKGNAMEPREFIX=	apache-
@@ -12,32 +12,33 @@ WWW=		https://poi.apache.org/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cpe
+RUN_DEPENDS=	log4j>0:devel/log4j	\
+		SparseBitSet>0:devel/sparsebitset	\
+		apache-commons-io>0:devel/apache-commons-io	\
+		apache-commons-math>0:math/apache-commons-math	\
+		apache-commons-codec>0:java/apache-commons-codec	\
+		apache-commons-collections4>0:java/apache-commons-collections4
+
+USES=		cpe tar:tgz
 CPE_VENDOR=	apache
 
 USE_JAVA=	yes
 NO_BUILD=	yes
 NO_ARCH=	yes
-RELEASE_DATE=	20200217
-JARNAMES=	examples excelant scratchpad ooxml ooxml-schemas
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+RELEASE_DATE=	20220909
+JARNAMES=	examples excelant javadoc ooxml ooxml-full ooxml-lite scratchpad
+WRKSRC=		${WRKDIR}/${PORTNAME}-bin-${PORTVERSION}
 
 PLIST_FILES=	${JAVAJARDIR}/${PORTNAME}.jar
-PORTDOCS=	*
 
 .for i in ${JARNAMES}
 PLIST_FILES+=	${JAVAJARDIR}/${PORTNAME}-${i}.jar
 .endfor
 
-OPTIONS_DEFINE=	DOCS
-
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
 .for i in ${JARNAMES}
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${i}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${i}.jar
 .endfor
 
-do-install-DOCS-on:
-	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-
 .include <bsd.port.mk>
diff --git a/textproc/apache-poi/distinfo b/textproc/apache-poi/distinfo
index 71691c14d01e..f61bb4a70689 100644
--- a/textproc/apache-poi/distinfo
+++ b/textproc/apache-poi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1582693225
-SHA256 (poi-bin-4.1.2-20200217.tar.gz) = b869ffc376e8c5d2989bade5d415bc5843db3d0a8f17e56e242f9b520a848643
-SIZE (poi-bin-4.1.2-20200217.tar.gz) = 29846907
+TIMESTAMP = 1666382771
+SHA256 (poi-bin-5.2.3-20220909.tgz) = 2c09ba08b853a07b0b775a2e8f103d92fa17d8a5fd1950b12256a0397b3aa403
+SIZE (poi-bin-5.2.3-20220909.tgz) = 60984074