diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-04-05 23:02:27 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-04-05 23:02:27 +0000 |
commit | 4b7746a7121d35debf4c6a3e20ebd68be83fe837 (patch) | |
tree | 6376713fc60f75415d122b9c615a695298b03fbc /java/netrexx/files | |
parent | - Update to 2.1.2 (diff) |
- Update to 2.05 [1]
- Since NetRexxC.cmd and NetRexxC.sh do same thing, only install .sh version
and remove dependency on rexx-imc (and remove the patch for NetRexxC.cmd) [1]
- Add a patch for NetRexxC.sh so the user is able to override JAVA_HOME at
runtime [1]
- Use FIND | {MKDIR,INSTALL_DATA} to install documentation
- Add $FreeBSD$ tag in pkg-plist
PR: 79564 [1]
Submitted by: Sam Lawrance <boris@brooknet.com.au> [1]
Notes
Notes:
svn path=/head/; revision=132599
Diffstat (limited to 'java/netrexx/files')
-rw-r--r-- | java/netrexx/files/patch-NetRexxC.sh-classpath | 31 | ||||
-rw-r--r-- | java/netrexx/files/patch-bin::NetRexxC.cmd | 7 |
2 files changed, 31 insertions, 7 deletions
diff --git a/java/netrexx/files/patch-NetRexxC.sh-classpath b/java/netrexx/files/patch-NetRexxC.sh-classpath new file mode 100644 index 000000000000..c3dc3efdd527 --- /dev/null +++ b/java/netrexx/files/patch-NetRexxC.sh-classpath @@ -0,0 +1,31 @@ +$FreeBSD$ + +Add ${JAVA_HOME}/lib/tools.jar to the CLASSPATH. + +NOTE: JAVA_HOME is overridable but the default value is selected by bsd.java.mk +when isntalling the port. + +--- bin/NetRexxC.sh.orig Sun Aug 20 12:47:22 2000 ++++ bin/NetRexxC.sh Tue Apr 5 23:52:45 2005 +@@ -29,6 +29,8 @@ + # ----------------------------------------------------------------- + # 2000.08.20 -- initial version derived from NetRexxC.bat + ++JAVA_HOME="${JAVA_HOME:-"%%JAVA_HOME%%"}" ++ + if test $# -eq 0; then + echo 'Usage:' $0 '[-run] [other options] filename' + echo ' ' +@@ -40,10 +42,10 @@ + netrexx_run=yes + fi + +-java -ms4M $NETREXX_JAVA COM.ibm.netrexx.process.NetRexxC $* ++"${JAVA_HOME}/bin/java" -ms4M $NETREXX_JAVA -cp "${JAVA_HOME}/lib/tools.jar":"%%JAVAJARDIR%%/NetRexxC.jar" COM.ibm.netrexx.process.NetRexxC $* + if test $? -eq 0; then + if test "$netrexx_run" = "yes"; then + echo "Running $1..." +- java $1 ++ "${JAVA_HOME}/bin/java" $1 + fi + fi diff --git a/java/netrexx/files/patch-bin::NetRexxC.cmd b/java/netrexx/files/patch-bin::NetRexxC.cmd deleted file mode 100644 index df3c7fe50146..000000000000 --- a/java/netrexx/files/patch-bin::NetRexxC.cmd +++ /dev/null @@ -1,7 +0,0 @@ ---- bin/NetRexxC.cmd Sun Aug 20 12:44:40 2000 -+++ bin/NetRexxC.cmd.new Sun Nov 4 21:30:11 2001 -@@ -1,3 +1,4 @@ -+/*usr/bin/true; exec rexx "$0" "$@" # REXX program */ - /* Translate and compile a NetRexx program */ - /* */ - /* use as: NetRexxC hello [file2]... */ |