diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2022-04-30 16:37:41 +0200 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2022-05-01 22:09:07 +0200 |
commit | e6902c57141c20bcaf5cd6e796157b9d32b559fd (patch) | |
tree | 451f7d4c4287adfbd3d1bed9f9919797c61d4891 /textproc/apache-xmlbeans/files | |
parent | devel/apache-log4j2: repocopy from devel/log4j (diff) |
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).
Diffstat (limited to 'textproc/apache-xmlbeans/files')
-rw-r--r-- | textproc/apache-xmlbeans/files/patch-bin___setlib | 20 | ||||
-rw-r--r-- | textproc/apache-xmlbeans/files/pkg-message.in | 3 |
2 files changed, 23 insertions, 0 deletions
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 |