From nobody@FreeBSD.org  Fri Dec 17 18:49:32 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D805816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 18:49:32 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A247243D45
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 18:49:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBHInWBo066154
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 18:49:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iBHInWKJ066153;
	Fri, 17 Dec 2004 18:49:32 GMT
	(envelope-from nobody)
Message-Id: <200412171849.iBHInWKJ066153@www.freebsd.org>
Date: Fri, 17 Dec 2004 18:49:32 GMT
From: Conor McDermottroe <ports@mcdermottroe.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] [MAINTAINER UPDATE] java/jflex 1.4 -> 1.4.1
X-Send-Pr-Version: www-2.3

>Number:         75198
>Category:       ports
>Synopsis:       [PATCH] [MAINTAINER UPDATE] java/jflex 1.4 -> 1.4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hq
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 17 18:50:25 GMT 2004
>Closed-Date:    Mon Dec 20 14:37:04 GMT 2004
>Last-Modified:  Mon Dec 20 14:37:04 GMT 2004
>Originator:     Conor McDermottroe
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
FreeBSD oxygen.office.edgespace.net. 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #7: Fri Aug 20 23:02:52 IST 2004     root@mcdermc:/usr/obj/usr/src/sys/MCDERMC  i386
>Description:
Updating the port java/jflex from version 1.4 to 1.4.1
>How-To-Repeat:
      
>Fix:
diff -ruN jflex.orig/Makefile jflex/Makefile
--- jflex.orig/Makefile Tue Nov 30 02:20:26 2004
+++ jflex/Makefile      Mon Nov 29 21:11:27 2004
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=      jflex
-PORTVERSION=   1.4
+PORTVERSION=   1.4.1
 CATEGORIES=    java devel
 MASTER_SITES=  http://www.jflex.de/:jflexde \
                http://jflex.sourceforge.net/jar/devel/:jflexsf
-DISTFILES=     jflex-1.4.tar.gz:jflexde \
+DISTFILES=     ${PORTNAME}-${PORTVERSION}.tar.gz:jflexde \
                JFlex.jar:jflexsf \
                java_cup.jar:jflexsf
-EXTRACT_ONLY=  jflex-1.4.tar.gz
+EXTRACT_ONLY=  ${PORTNAME}-${PORTVERSION}.tar.gz
 
 MAINTAINER=    ports@mcdermottroe.com
 COMMENT=       The Fast Lexical Analyser Generator for Java[tm]
diff -ruN jflex.orig/distinfo jflex/distinfo
--- jflex.orig/distinfo Tue Nov 30 02:20:26 2004
+++ jflex/distinfo      Mon Nov 29 21:15:48 2004
@@ -1,6 +1,6 @@
-MD5 (jflex-1.4.tar.gz) = 120cedc76b278a476682edfa6828841f
-SIZE (jflex-1.4.tar.gz) = 912690
-MD5 (JFlex.jar) = da256e01b8ef7d87fb02b10554c15d0e
-SIZE (JFlex.jar) = 171538
+MD5 (jflex-1.4.1.tar.gz) = 9e4be6e826e6b344e84c0434d6fd4b46
+SIZE (jflex-1.4.1.tar.gz) = 986546
+MD5 (JFlex.jar) = 626c0c66135a48c042d3b35af95d274d
+SIZE (JFlex.jar) = 169629
 MD5 (java_cup.jar) = 26aef43b31cf3e0b581017e75a325b7b
 SIZE (java_cup.jar) = 97241
diff -ruN jflex.orig/pkg-plist jflex/pkg-plist
--- jflex.orig/pkg-plist        Tue Nov 30 02:20:26 2004
+++ jflex/pkg-plist     Tue Nov 30 02:45:28 2004
@@ -49,6 +49,7 @@
 %%EXAMPLESDIR%%/java/Makefile
 %%EXAMPLESDIR%%/java/README
 %%EXAMPLESDIR%%/java/TestLexer.java
+%%EXAMPLESDIR%%/java/build.xml
 %%EXAMPLESDIR%%/java/java.flex
 %%EXAMPLESDIR%%/java/java12.cup
 %%EXAMPLESDIR%%/java/lexer-output.good
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->hq 
Responsible-Changed-By: hq 
Responsible-Changed-When: Sat Dec 18 01:31:12 GMT 2004 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75198 
State-Changed-From-To: open->feedback 
State-Changed-By: hq 
State-Changed-When: Sat Dec 18 01:42:42 GMT 2004 
State-Changed-Why:  
Is there a reason why you don't use Junit JAR file installed by the java/junit 
port? 

The same goes for java/java-cup... 

Also, you don't need to add JAVAJARDIR to PLIST_SUB anymore, it is performed by 
bsd.java.mk. 

BTW, I think the port could use bsd.java.mk Ant support (through USE_ANT). I 
could provide a patch for that once we sort out the above issues. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=75198 
State-Changed-From-To: feedback->closed 
State-Changed-By: hq 
State-Changed-When: Mon Dec 20 14:36:52 GMT 2004 
State-Changed-Why:  
Commited. Thanks for your contribution. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75198 
>Unformatted:
