textproc/apache-poi: upgrade to 5.2.3

Changelog at <https://poi.apache.org/changes.html>.
This commit is contained in:
Thierry Thomas 2022-10-21 22:26:58 +02:00
parent 65a0d7986d
commit 5d3daeb240
2 changed files with 15 additions and 14 deletions

View File

@ -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>

View File

@ -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