Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 12:35:28 -0800 (PST)
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        lioux@freebsd.org
Subject:   ports/34845: [MAINTAINER UPDATE] patch NetRexx to 2.02_1
Message-ID:  <200202112035.g1BKZSu49197@johncoop.MSHOME>

next in thread | raw e-mail | index | archive | help

>Number:         34845
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] patch NetRexx to 2.02_1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 11 12:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD johncoop.MSHOME 4.5-STABLE FreeBSD 4.5-STABLE #61: Sun Feb 10 20:04:53 PST 2002 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	* move JAR files to ${LOCALBASE}/share/java/classes per mtree
	* install examples only if docs are also installed
	* patch instructions to make sense in ports environment

>How-To-Repeat:
	N/A

>Fix:

--- update-netrexx-2.02_1 begins here ---
# This is a patch for netrexx to update it to netrexx.new
# 
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# If you have a decent Bourne-type shell:
# STEP 2: Run the shell with this file as input.
# If you don't have such a shell, you may need to manually create
# the files as shown below.
# STEP 3: Run the 'patch' program with this file as input.
#
# These are the commands needed to create/delete files/directories:
#
touch 'files/patch-read.me.first'
chmod 0644 'files/patch-read.me.first'
#
# This command terminates the shell and need not be executed manually.
exit
#
#### End of Preamble ####

#### Patch data follows ####
diff -u 'netrexx/Makefile' 'netrexx.new/Makefile'
Index: ./Makefile
--- ./Makefile	Thu Nov 29 20:48:30 2001
+++ ./Makefile	Mon Feb 11 12:03:16 2002
@@ -2,11 +2,12 @@
 # Date created:		Feb 8, 1999
 # Whom:			Pedro Giffuni
 #
-# $FreeBSD: ports/java/netrexx/Makefile,v 1.6 2001/11/16 06:14:31 pat Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	NetRexx
 PORTVERSION=	2.02
+PORTREVISION=	1
 CATEGORIES=	java lang
 MASTER_SITES=	http://www2.hursley.ibm.com/netrexx/
 DISTNAME=	NetRexx
@@ -29,14 +30,14 @@
 		${PREFIX}/bin/NetRexxC.rexx
 	@${LN} -sf ${PREFIX}/bin/NetRexxC.rexx ${PREFIX}/bin/nrc.rexx
 
-	@${MKDIR} ${PREFIX}/NetRexx/lib
-	@${INSTALL_DATA} ${WRKSRC}/lib/NetRexxC.jar ${PREFIX}/NetRexx/lib/
-	@${INSTALL_DATA} ${WRKSRC}/runlib/NetRexxR.jar ${PREFIX}/NetRexx/lib/
+	@${MKDIR} ${PREFIX}/share/java/classes
+	@${INSTALL_DATA} ${WRKSRC}/lib/NetRexxC.jar ${PREFIX}/share/java/classes
+	@${INSTALL_DATA} ${WRKSRC}/runlib/NetRexxR.jar ${PREFIX}/share/java/classes
 
-	@${MKDIR} ${PREFIX}/share/examples/NetRexx
-	@${INSTALL_DATA} ${WRKSRC}/bin/hello.nrx \
-		${PREFIX}/share/examples/NetRexx/
 .if !defined(NOPORTDOCS)
+	@${MKDIR} ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/bin/hello.nrx \
+		${EXAMPLESDIR}
 	@${MKDIR} ${DOCSDIR}/netrexx/lang
 .for dir in netrexx/lang .
 	@${INSTALL_DATA} ${WRKSRC}/browse/${dir}/* ${DOCSDIR}/${dir}
diff -u /dev/null 'netrexx.new/files/patch-read.me.first'
Index: ./files/patch-read.me.first
--- ./files/patch-read.me.first	Wed Dec 31 16:00:00 1969
+++ ./files/patch-read.me.first	Mon Feb 11 12:19:07 2002
@@ -0,0 +1,73 @@
+--- 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.
+ 
+ ------------------------------------------------------------------------
+ 
diff -u 'netrexx/pkg-plist' 'netrexx.new/pkg-plist'
Index: ./pkg-plist
--- ./pkg-plist	Thu Nov 15 23:15:50 2001
+++ ./pkg-plist	Mon Feb 11 12:05:57 2002
@@ -133,12 +133,10 @@
 %%PORTDOCS%%share/doc/NetRexx/ArchText.nrx
 %%PORTDOCS%%share/doc/NetRexx/wordclock.html
 %%PORTDOCS%%share/doc/NetRexx/ArchText.class
-share/examples/NetRexx/hello.nrx
-NetRexx/lib/NetRexxC.jar
-NetRexx/lib/NetRexxR.jar
+%%PORTDOCS%%share/examples/NetRexx/hello.nrx
+share/java/classes/NetRexxC.jar
+share/java/classes/NetRexxR.jar
 %%PORTDOCS%%@dirrm share/doc/NetRexx/netrexx/lang
 %%PORTDOCS%%@dirrm share/doc/NetRexx/netrexx
 %%PORTDOCS%%@dirrm share/doc/NetRexx
-@dirrm share/examples/NetRexx
-@dirrm NetRexx/lib
-@dirrm NetRexx
+%%PORTDOCS%%@dirrm share/examples/NetRexx
#### End of Patch data ####

#### ApplyPatch data follows ####
# Data version        : 1.0
# Date generated      : Mon Feb 11 12:29:57 2002
# Generated by        : makepatch 2.00
# Recurse directories : Yes
# p 'Makefile' 1636 1013457796 0100644
# c 'files/patch-read.me.first' 0 1013458747 0100644
# p 'pkg-plist' 6338 1013457957 0100644
#### End of ApplyPatch data ####

#### End of Patch kit [created: Mon Feb 11 12:29:57 2002] ####
#### Checksum: 181 7148 45729 ####
--- update-netrexx-2.02_1 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202112035.g1BKZSu49197>