Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 14:11:32 +0200 (SAST)
From:      Matthew West <mwest@uct.ac.za>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nordwick@xcf.berkeley.edu
Subject:   ports/63582: update ports/java/java-cup from 10.g to 10.k [patch]
Message-ID:  <200403011211.i21CBWDL082695@casper.cs.uct.ac.za>
Resent-Message-ID: <200403011220.i21CKF0i032359@freefall.freebsd.org>

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

>Number:         63582
>Category:       ports
>Synopsis:       update ports/java/java-cup from 10.g to 10.k [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 01 04:20:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthew West
>Release:        
>Organization:
University of Cape Town
>Environment:

>Description:

patch to update ports/java/java-cup from 10.g to 10.k

>How-To-Repeat:

>Fix:

--- diff begins here ---
diff -ruN java-cup.orig/Makefile java-cup/Makefile
--- java-cup.orig/Makefile	Fri Feb 21 19:24:34 2003
+++ java-cup/Makefile	Mon Mar  1 13:52:40 2004
@@ -6,18 +6,18 @@
 #
 
 PORTNAME=	java_cup
-PORTVERSION=	10.g
+PORTVERSION=	10.k
 CATEGORIES=	java
 MASTER_SITES=	http://www.cs.princeton.edu/~appel/modern/java/CUP/
-DISTNAME=	java_cup_v10g
+DISTNAME=	java_cup_v10k
 
 MAINTAINER=	nordwick@xcf.berkeley.edu
 COMMENT=	An LALR parser generator in Java
 
-BUILD_DEPENDS=	${JAVADIR}/bin/javac:${PORTSDIR}/java/jdk11
-RUN_DEPENDS=	${JAVADIR}/bin/java:${PORTSDIR}/java/jdk11
+USE_JAVA=       1.1+
+NEED_JAVAC=     yes
 
-JAVASUBDIR=	jdk1.1.8
+JAVASUBDIR=	${JAVA_HOME:S|^${PREFIX}/||}
 JAVADIR=	${PREFIX}/${JAVASUBDIR}
 JAVALIBDIR=	${JAVADIR}/lib
 
diff -ruN java-cup.orig/distinfo java-cup/distinfo
--- java-cup.orig/distinfo	Sun Apr 11 04:51:41 1999
+++ java-cup/distinfo	Mon Mar  1 13:54:40 2004
@@ -1 +1,2 @@
-MD5 (java_cup_v10g.tar.gz) = 2b124198a7ed696a63546a83199237f7
+MD5 (java_cup_v10k.tar.gz) = 8b11edfec13c590ea443d0f0ae0da479
+SIZE (java_cup_v10k.tar.gz) = 190843
diff -ruN java-cup.orig/pkg-plist java-cup/pkg-plist
--- java-cup.orig/pkg-plist	Sun Apr 11 04:51:41 1999
+++ java-cup/pkg-plist	Mon Mar  1 14:07:12 2004
@@ -33,6 +33,7 @@
 %%JAVASUBDIR%%/lib/java_cup/runtime/Symbol.class
 %%JAVASUBDIR%%/lib/java_cup/runtime/lr_parser.class
 %%JAVASUBDIR%%/lib/java_cup/runtime/virtual_parse_stack.class
+%%JAVASUBDIR%%/lib/java_cup/runtime/Scanner.class
 @dirrm %%JAVASUBDIR%%/lib/java_cup/runtime
 @dirrm %%JAVASUBDIR%%/lib/java_cup
 %%JAVASUBDIR%%/cup/manual.html
--- diff ends here ---


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



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