mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
textproc/apache-xmlbeans: upgrade to 5.2.1
Release notes at https://dlcdn.apache.org/poi/xmlbeans/release/RELEASE-NOTES-5.2.1.txt
This commit is contained in:
parent
964e4cfd8a
commit
c56fb56265
3 changed files with 20 additions and 15 deletions
|
@ -1,10 +1,9 @@
|
|||
PORTNAME= xmlbeans
|
||||
DISTVERSION= 5.1.1 # Do not upgrade without checking compatibility with math/R-cran-XLConnect
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 5.2.1 # Do not upgrade without checking compatibility with math/R-cran-XLConnect
|
||||
CATEGORIES= textproc java
|
||||
MASTER_SITES= https://archive.apache.org/dist/poi/xmlbeans/release/bin/
|
||||
PKGNAMEPREFIX= apache-
|
||||
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}-${DATE_REL}
|
||||
DISTNAME= apache-${PORTNAME}-bin-${PORTVERSION}-${DATE_REL}
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= Java classes for XML
|
||||
|
@ -12,11 +11,16 @@ WWW= https://xmlbeans.apache.org/
|
|||
|
||||
LICENSE= APACHE20
|
||||
|
||||
RUN_DEPENDS= apache-log4j2>0:devel/apache-log4j2 \
|
||||
slf4j>0:devel/slf4j
|
||||
|
||||
USES= cpe java tar:tgz
|
||||
DATE_REL= 20220819
|
||||
DATE_REL= 20240522
|
||||
CPE_VENDOR= apache
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
JAVA_VERSION= 11+
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
SUB_FILES= pkg-message
|
||||
|
@ -28,7 +32,7 @@ PORTEXAMPLES= *
|
|||
OPTIONS_DEFINE= DOCS EXAMPLES SAXON
|
||||
OPTIONS_DEFAULT= SAXON
|
||||
SAXON_DESC= Saxon XQuery processor for full XQuery and XPath support
|
||||
SAXON_RUN_DEPENDS= saxon-he=10.6:textproc/saxon-he
|
||||
SAXON_RUN_DEPENDS= saxon-he=12.5:textproc/saxon-he
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|' \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1674682794
|
||||
SHA256 (xmlbeans-bin-5.1.1-20220819.tgz) = 1f6a57f0ed43ad7c6971026fbf5f697a0dbb77c6447c06b22460612469553cdd
|
||||
SIZE (xmlbeans-bin-5.1.1-20220819.tgz) = 23507184
|
||||
TIMESTAMP = 1735758437
|
||||
SHA256 (apache-xmlbeans-bin-5.2.1-20240522.tgz) = eab189b2402595f685b2eede2deb47ab8fa29dec739b47662fd523f5900133cf
|
||||
SIZE (apache-xmlbeans-bin-5.2.1-20240522.tgz) = 24006418
|
||||
|
|
|
@ -1,20 +1,21 @@
|
|||
--- bin/_setlib.orig 2022-07-16 12:43:26 UTC
|
||||
--- bin/_setlib.orig 1970-01-02 00:00:00 UTC
|
||||
+++ bin/_setlib
|
||||
@@ -19,19 +19,12 @@ if [ -z "$XMLBEANS_HOME" ]; then
|
||||
@@ -19,19 +19,12 @@ fi
|
||||
XMLBEANS_HOME=`dirname $0`/..
|
||||
fi
|
||||
|
||||
-XMLBEANS_LIB=
|
||||
-if ls $XMLBEANS_HOME/build/libs/xmlbeans*.jar 1> /dev/null 2>&1; then
|
||||
- XMLBEANS_LIB=$XMLBEANS_HOME/build/libs
|
||||
-fi
|
||||
+if ls %%JAVAJARDIR%%/xmlbeans.jar 1> /dev/null 2>&1; then
|
||||
+ XMLBEANS_LIB=$XMLBEANS_HOME
|
||||
fi
|
||||
-if ls $XMLBEANS_HOME/build/lib/xmlbeans*.jar 1> /dev/null 2>&1; then
|
||||
- XMLBEANS_LIB=$XMLBEANS_HOME/build/lib
|
||||
-fi
|
||||
-if ls $XMLBEANS_HOME/lib/xmlbeans*.jar 1> /dev/null 2>&1; then
|
||||
+if ls %%JAVAJARDIR%%/xmlbeans.jar 1> /dev/null 2>&1; then
|
||||
XMLBEANS_LIB=$XMLBEANS_HOME/lib
|
||||
fi
|
||||
- XMLBEANS_LIB=$XMLBEANS_HOME/lib
|
||||
-fi
|
||||
|
||||
echo XMLBEANS_LIB=$XMLBEANS_LIB
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue