FreeBSD Bugzilla – Attachment 213185 Details for
Bug 245447
java/jflex: Update 1.4.2 -> 1.8.1; unmark broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ports/java/jflex: 1.4.2 -> 1.8.1
ports-java-jflex.patch (text/plain), 8.35 KB, created by
Jashank Jeremy
on 2020-04-08 05:30:48 UTC
(
hide
)
Description:
ports/java/jflex: 1.4.2 -> 1.8.1
Filename:
MIME Type:
Creator:
Jashank Jeremy
Created:
2020-04-08 05:30:48 UTC
Size:
8.35 KB
patch
obsolete
>From d278989bdb6f78334deda4318e47b763c3ec087f Mon Sep 17 00:00:00 2001 >From: Jashank Jeremy <jashank@rulingia.com.au> >Date: Wed, 8 Apr 2020 15:27:52 +1000 >Subject: [PATCH] java/jflex: Update to 1.8.1, unmark broken/unfetchable. > >--- > java/jflex/Makefile | 52 ++++++++++++----------------- > java/jflex/distinfo | 9 ++--- > java/jflex/files/jflex.sh.in | 4 +-- > java/jflex/pkg-descr | 10 +++--- > java/jflex/pkg-plist | 64 ------------------------------------ > 5 files changed, 31 insertions(+), 108 deletions(-) > delete mode 100644 java/jflex/pkg-plist > >diff --git a/java/jflex/Makefile b/java/jflex/Makefile >index ab0d5f7c01f3..a9577f1f54a7 100644 >--- a/java/jflex/Makefile >+++ b/java/jflex/Makefile >@@ -2,50 +2,40 @@ > # $FreeBSD$ > > PORTNAME= jflex >-PORTVERSION= 1.4.2 >+PORTVERSION= 1.8.1 > CATEGORIES= java devel >-MASTER_SITES= http://www.jflex.de/:jflexde \ >- http://jflex.sourceforge.net/jar/devel/:jflexsf >-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:jflexde \ >- JFlex.jar:jflexsf \ >- java_cup.jar:jflexsf >-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} >+ >+MASTER_SITES= https://github.com/jflex-de/jflex/releases/download/v${PORTVERSION}/ >+LICENSE= BSD3CLAUSE > > MAINTAINER= eg@fbsd.lt > COMMENT= The Fast Lexical Analyser Generator for Java[tm] > >-BROKEN= unfetchable >-DEPRECATED= Broken for more than 6 months >-EXPIRATION_DATE= 2020-05-05 >- >-BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:java/junit >- > USE_JAVA= yes >-USE_ANT= yes >-BUILD_WRKSRC= ${WRKSRC}/src >-ALL_TARGET= jar >-MAKE_ENV+= CLASSPATH="${JAVALIBDIR}/junit.jar" > >-PORTDOCS= * >- >-SUB_FILES= jflex.sh >+# >+# JFlex has two build options --- Maven and Bazel --- and neither of >+# them are easy within the Ports tree framework. If you *really* want >+# to build it from source, grab the distfile (which includes the source) >+# or the entire repo, and have fun! -- ~jashankj, 2020-04-08 >+# >+NO_BUILD= yes > > OPTIONS_DEFINE= DOCS EXAMPLES >- >-post-extract: >- ${MKDIR} ${WRKSRC}/tools >- ${CP} ${DISTDIR}/JFlex.jar ${WRKSRC}/tools/ >- ${CP} ${DISTDIR}/java_cup.jar ${WRKSRC}/tools/ >+SUB_FILES= jflex.sh > > do-install: > ${INSTALL_SCRIPT} ${WRKDIR}/jflex.sh ${STAGEDIR}${PREFIX}/bin/jflex >- ${INSTALL_DATA} ${WRKSRC}/lib/JFlex.jar ${STAGEDIR}${JAVAJARDIR}/JFlex.jar >+ ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-full-${PORTVERSION}.jar \ >+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar >+ ${LN} -s ${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar >+ >+do-install-DOCS-on: > ${MKDIR} ${STAGEDIR}${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} >+ ${COPYTREE_SHARE} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} >+ >+do-install-EXAMPLES-on: > ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >-.for EXAMPLE in binary byaccj cup interpreter java simple standalone >- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${EXAMPLE} >- ${INSTALL_DATA} ${WRKSRC}/examples/${EXAMPLE}/* ${STAGEDIR}${EXAMPLESDIR}/${EXAMPLE} >-.endfor >+ ${COPYTREE_SHARE} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} > > .include <bsd.port.mk> >diff --git a/java/jflex/distinfo b/java/jflex/distinfo >index 6d4348f0ff52..064efb369041 100644 >--- a/java/jflex/distinfo >+++ b/java/jflex/distinfo >@@ -1,6 +1,3 @@ >-SHA256 (jflex-1.4.2.tar.gz) = ce443d51bdcedfd77c12c75a8301d57b5eb903b156c33806d1eedc466a5f84e9 >-SIZE (jflex-1.4.2.tar.gz) = 1210149 >-SHA256 (JFlex.jar) = a2f173e32886bf257e5bd76255dc8e0912ce8c9a540a6a3a744620d6ccb5f265 >-SIZE (JFlex.jar) = 178885 >-SHA256 (java_cup.jar) = 9afcfd0996dcc9a933e66749988428ad964d8c1b678107fe688a6fa55325e17e >-SIZE (java_cup.jar) = 96121 >+TIMESTAMP = 1586321566 >+SHA256 (jflex-1.8.1.tar.gz) = 3d9d63f4940f8452885bc63048b8b621a1a3a6e99d406f6d0b8c9f183ee15743 >+SIZE (jflex-1.8.1.tar.gz) = 4922831 >diff --git a/java/jflex/files/jflex.sh.in b/java/jflex/files/jflex.sh.in >index 7d90f63d7ab0..c7b4819a4b8e 100644 >--- a/java/jflex/files/jflex.sh.in >+++ b/java/jflex/files/jflex.sh.in >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/bin/sh > # > # Replacement for the script that came with JFlex > # because bash is not necessarily on a FreeBSD >@@ -11,4 +11,4 @@ > # Allow the user to override where JFlex.jar lives > JAVAJARDIR="${JAVAJARDIR:-"%%JAVAJARDIR%%"}" > >-"%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/JFlex.jar" "$@" >+exec "%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/jflex-%%PORTVERSION%%.jar" "$@" >diff --git a/java/jflex/pkg-descr b/java/jflex/pkg-descr >index 6769bfdb6d6a..18f12293ad01 100644 >--- a/java/jflex/pkg-descr >+++ b/java/jflex/pkg-descr >@@ -1,6 +1,6 @@ >-JFlex is a lexical analyzer generator for Java written in Java. >-It is also a rewrite of the very useful tool JLex which was developed >-by Elliot Berk at Princeton University. As Vern Paxon states for his C/C++ >-tool flex: They do not share any code though. >+JFlex is a lexical analyser generator for Java written in Java. It is >+also a rewrite of the tool JLex (Berk 1996) which was developed by >+Elliot Berk at Princeton University. As Vern Paxson states for his >+C/C++ tool flex (Paxson 1995): they do not share any code though. > >-WWW: http://www.jflex.de/ >+WWW: https://www.jflex.de/ >diff --git a/java/jflex/pkg-plist b/java/jflex/pkg-plist >deleted file mode 100644 >index a26cd9c86091..000000000000 >--- a/java/jflex/pkg-plist >+++ /dev/null >@@ -1,64 +0,0 @@ >-bin/jflex >-%%JAVAJARDIR%%/JFlex.jar >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/binary/Makefile >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/binary/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/binary/StraightStreamReader.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/binary/binary.flex >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/byaccj/Makefile >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/byaccj/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/byaccj/calc.flex >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/byaccj/calc.y >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cup/Main.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cup/Makefile >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cup/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cup/lcalc.flex >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cup/output.good >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cup/test.txt >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cup/ycalc.cup >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/AST.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Main.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Makefile >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/STEfun.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/STEvar.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/SymTab.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/SymtabEntry.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tboolexp.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tdekl.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tdekllist.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Texp.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Texpinfix.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Texplist.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tfun.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tident.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tifthenelse.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tnumber.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tparlist.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tprogram.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/Tuminus.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/build.xml >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/example.as >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/parser.cup >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter/scanner.flex >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/JavaParser.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/JavaSymbol.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/Makefile >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/TestLexer.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/build.xml >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/java.flex >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/java12.cup >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/lexer-output.good >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/unicode.flex >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/Makefile >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/Utility.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/Yytoken.java >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/output.good >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/simple.flex >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/test.txt >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/standalone/Makefile >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/standalone/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/standalone/build.xml >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/standalone/sample.inp >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/standalone/standalone.flex >-- >2.25.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245447
:
213185
|
213205