mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
[MAINTAINER UPDATE] Update build of netrexx to USE_JAVA
PR: ports/41984 Submitted by: John Merryweather Cooper <coop9211@uidaho.edu>
This commit is contained in:
parent
399c6ffddd
commit
49adc67aaa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73216
2 changed files with 4 additions and 77 deletions
|
@ -7,18 +7,18 @@
|
||||||
|
|
||||||
PORTNAME= NetRexx
|
PORTNAME= NetRexx
|
||||||
PORTVERSION= 2.02
|
PORTVERSION= 2.02
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= java lang
|
CATEGORIES= java lang
|
||||||
MASTER_SITES= http://www2.hursley.ibm.com/netrexx/
|
MASTER_SITES= http://www2.hursley.ibm.com/netrexx/
|
||||||
DISTNAME= NetRexx
|
DISTNAME= NetRexx
|
||||||
|
|
||||||
MAINTAINER= jmcoopr@webmail.bmi.net
|
MAINTAINER= coop9211@uidaho.edu
|
||||||
|
|
||||||
RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk11 \
|
RUN_DEPENDS= ${LOCALBASE}/bin/rexx:${PORTSDIR}/lang/rexx-imc
|
||||||
${LOCALBASE}/bin/rexx:${PORTSDIR}/lang/rexx-imc
|
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USE_ZIP= yes
|
USE_ZIP= yes
|
||||||
|
USE_JAVA= 1.1+
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
|
|
|
@ -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.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue