diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-16 03:23:10 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-16 03:23:10 +0000 |
commit | 49adc67aaabc8c16280c23b0ece70cce217d4ff8 (patch) | |
tree | dba7840a81e5ebd07a7d2070d83ba3195bbd24b1 /java/netrexx | |
parent | 399c6ffddd1e9b45ef65329fad471053281b821c (diff) | |
download | ports-49adc67aaabc8c16280c23b0ece70cce217d4ff8.tar.gz ports-49adc67aaabc8c16280c23b0ece70cce217d4ff8.zip |
[MAINTAINER UPDATE] Update build of netrexx to USE_JAVA
PR: ports/41984
Submitted by: John Merryweather Cooper <coop9211@uidaho.edu>
Notes
Notes:
svn path=/head/; revision=73216
Diffstat (limited to 'java/netrexx')
-rw-r--r-- | java/netrexx/Makefile | 8 | ||||
-rw-r--r-- | java/netrexx/files/patch-read.me.first | 73 |
2 files changed, 4 insertions, 77 deletions
diff --git a/java/netrexx/Makefile b/java/netrexx/Makefile index 8a6496fcc8b9..a64edeea4f20 100644 --- a/java/netrexx/Makefile +++ b/java/netrexx/Makefile @@ -7,18 +7,18 @@ PORTNAME= NetRexx PORTVERSION= 2.02 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java lang MASTER_SITES= http://www2.hursley.ibm.com/netrexx/ DISTNAME= NetRexx -MAINTAINER= jmcoopr@webmail.bmi.net +MAINTAINER= coop9211@uidaho.edu -RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk11 \ - ${LOCALBASE}/bin/rexx:${PORTSDIR}/lang/rexx-imc +RUN_DEPENDS= ${LOCALBASE}/bin/rexx:${PORTSDIR}/lang/rexx-imc NO_BUILD= yes USE_ZIP= yes +USE_JAVA= 1.1+ USE_REINPLACE= yes pre-patch: diff --git a/java/netrexx/files/patch-read.me.first b/java/netrexx/files/patch-read.me.first deleted file mode 100644 index c5003e8b77ff..000000000000 --- a/java/netrexx/files/patch-read.me.first +++ /dev/null @@ -1,73 +0,0 @@ ---- read.me.first.orig Mon Feb 11 12:08:27 2002 -+++ read.me.first Mon Feb 11 12:17:51 2002 -@@ -10,7 +10,9 @@ - - To start, point your Web browser at the file: - -- NetRexx\browse\netrexx.html -+ /usr/local/share/doc/NetRexx/netrexx.html -+ -+(assuming your LOCALBASE=/usr/local). - - ------------------------------------------------------------------------ - -@@ -27,35 +29,24 @@ - - 2. Make the translator visible to the Java Virtual Machine (JVM): - -- -- If you are running Java 1.2 or later, copy the file -- NetRexx\lib\NetRexxC.jar to the jre\lib\ext directory in the -- Java installation tree. The JVM will automatically find it -- there and make it available. -- -- -- If you are using an earlier Java version (1.1.2 through 1.1.8) -- instead add the full path and filename of the NetRexx\lib\NetRexxC.jar -- to the CLASSPATH environment variable for your operating system. -+ -- add the full path and filename of the -+ /usr/local/share/java/classes/NetRexxC.jar to the CLASSPATH -+ environment variable for your operating system. - - Note: if you have a NetRexxC.zip in your CLASSPATH from an earlier - version of Rexx, remove it (NetRexxC.jar replaces NetRexxC.zip). - -- 3. Copy all the files in the NetRexx\bin directory to a directory in -- your PATH (perhaps the \bin directory in the Java installation -- tree). This is not essential, but makes shorthand scripts and a -- test case available. -- -- 4. If you are running Java 1.2 or later, make the file \lib\tools.jar -+ 3. If you are running Java 1.2 or later, make the file /lib/tools.jar - (which contains the javac compiler) in the Java tree visible to - the JVM. You can do this either by adding its path and filename to -- the CLASSPATH environment variable, or by moving it to the -- jre\lib\ext directory in the Java tree. -+ the CLASSPATH environment variable. - -- 5. Test the installation by making the executables directory the -- current directory and issuing the following two commands exactly -- as written: -+ 4. Test the installation by making the examples directory the -+ current directory (/usr/local/share/examples/NetRexx) and issuing -+ the following two commands exactly as written: - -- java COM.ibm.netrexx.process.NetRexxC hello -- java hello -+ $ java COM.ibm.netrexx.process.NetRexxC hello -+ $ java hello - - The first of these should translate the test program and then - invoke the javac compiler to generate the class file (hello.class) -@@ -64,9 +55,10 @@ - - If you have any problems or errors in the above process, please read the - detailed instructions and problem-solving tips in the NetRexx User's --guide. You can find it in this package at NetRexx\browse\nrusers.html --(for browsing) and at NetRexx\browse\nrusers.pdf for viewing and --printing with Acrobat Reader. -+guide. You can find it in this package at -+/usr/local/share/docs/NetRexx/nrusers.html (for browsing) and at -+/usr/local/share/docs/NetRexx/nrusers.pdf for viewing and printing with -+Acrobat Reader. - - ------------------------------------------------------------------------ - |