From e6902c57141c20bcaf5cd6e796157b9d32b559fd Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 30 Apr 2022 16:37:41 +0200 Subject: textproc/apache-xmlbeans: adding XMLBeans, Java classes for XML Note: this is release 3.1.0. The latest release is 5.0.3, but it is not yet compatible with XLConnect (math/R-cran-XLConnect). --- textproc/apache-xmlbeans/files/patch-bin___setlib | 20 ++++++++++++++++++++ textproc/apache-xmlbeans/files/pkg-message.in | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 textproc/apache-xmlbeans/files/patch-bin___setlib create mode 100644 textproc/apache-xmlbeans/files/pkg-message.in (limited to 'textproc/apache-xmlbeans/files') diff --git a/textproc/apache-xmlbeans/files/patch-bin___setlib b/textproc/apache-xmlbeans/files/patch-bin___setlib new file mode 100644 index 000000000000..b7c8022ec9c4 --- /dev/null +++ b/textproc/apache-xmlbeans/files/patch-bin___setlib @@ -0,0 +1,20 @@ +--- bin/_setlib.orig 2019-02-25 00:31:32 UTC ++++ bin/_setlib +@@ -19,14 +19,10 @@ if [ -z "$XMLBEANS_HOME" ]; then + XMLBEANS_HOME=`dirname $0`/.. + fi + +-XMLBEANS_LIB= +-if [ -f "$XMLBEANS_HOME"/build/lib/xbean.jar ]; then +- XMLBEANS_LIB=$XMLBEANS_HOME/build/lib ++if [ -f %%JAVAJARDIR%%/xmlbeans.jar ]; then ++ XMLBEANS_LIB=%%JAVAJARDIR%% + fi +-if [ -f "$XMLBEANS_HOME"/lib/xbean.jar ]; then +- XMLBEANS_LIB=$XMLBEANS_HOME/lib +-fi + + if [ -z "$XMLBEANS_LIB" ]; then +- echo "ERROR: Could not find xbean.jar, try set XMLBEANS_LIB to the directory containing xbean.jar" ++ echo "ERROR: Could not find xmlbeans.jar, try set XMLBEANS_LIB to the directory containing xmlbeans.jar" + fi diff --git a/textproc/apache-xmlbeans/files/pkg-message.in b/textproc/apache-xmlbeans/files/pkg-message.in new file mode 100644 index 000000000000..94f69fcf774e --- /dev/null +++ b/textproc/apache-xmlbeans/files/pkg-message.in @@ -0,0 +1,3 @@ +To use XMLBeans you might have to define the following variables: +export XMLBEANS_HOME=%%JAVAJARDIR%% +export CLASSPATH=%%JAVAJARDIR%%/xmlbeans.jar:$CLASSPATH -- cgit v1.2.3