pkgsrc/devel/jflex/Makefile
ryoon f76c2ac5ea Update to 1.4.3
Changelog:
 JFlex 1.4.3 (Jan 31, 2009) fixes all known bugs of 1.4.2
Fixed bug #2018299 (lookahead syntax error).
Fixed bug #2010261 (min_int in Java example scanner).
Fixed bug #2007221 (zzEOFDone not reset in yyreset(Reader)).
Fixed bug #1999301 (%type and %int at the same time should produce error message).

JFlex 1.4.2 (May 27, 2008) fixes all known bugs of 1.4.1
Implemented feature request #1212181: Now supports generics syntax for %type, %extends, etc.
Implemented feature request #1762500: Provided %ctorarg option to add arguments to constructor.
Fixed bug #1464525 (Reader.read might return 0).
Fixed bug #1968897 (Ambiguous error message in macro expansion).
Fixed bug #1832973 (Syntax error in input may cause NullPointerException).
Fixed bug #1629920 (Need to defend against path blanks in jflex bash script).
Fixed bug #1540228 (EOF actions may be ignored for same lex state).
Fixed bug #1498726 (syntax error in generated ZZ_CMAP).
Fixed bug #1282840 (lookahead and "|" actions).
Fixed bug #1164852 (yytext() longer than expected with lookahead).
Fixed bug #1065521 (OS/2 Java 1.1.8 Issues).
Fixed bug #421495 (dangerous lookahead check may fail).
2013-12-31 22:12:03 +00:00

29 lines
870 B
Makefile

# $NetBSD: Makefile,v 1.6 2013/12/31 22:12:03 ryoon Exp $
#
DISTNAME= jflex-1.4.3
CATEGORIES= devel
MASTER_SITES= http://jflex.de/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jflex.de/
COMMENT= Fast lexical analyzer generator for Java
USE_LANGUAGES= # none
USE_JAVA= run
USE_TOOLS+= pax
INSTALLATION_DIRS= bin lib/java share/doc/jflex share/examples/jflex
do-build:
printf "#! ${SH}\\nexec ${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/lib/java/JFlex.jar \"\$$@\"\\n" > ${WRKSRC}/jflex.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jflex.sh ${DESTDIR}${PREFIX}/bin/jflex
${INSTALL_DATA} ${WRKSRC}/lib/JFlex.jar ${DESTDIR}${PREFIX}/lib/java/
cd ${WRKSRC}/doc && pax -wr -pm * ${DESTDIR}${PREFIX}/share/doc/jflex
cd ${WRKSRC}/examples && pax -wr -pm * \
${DESTDIR}${PREFIX}/share/examples/jflex
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"