mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Update to 1.2.6
PR: 61225 Submitted by: Conor McDermottroe <mcdermc@tcd.ie>
This commit is contained in:
parent
6651ddd6e0
commit
d940a6aeb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98562
@ -6,9 +6,9 @@
|
||||
#
|
||||
|
||||
PORTNAME= jlex
|
||||
PORTVERSION= 1.2.3
|
||||
PORTVERSION= 1.2.6
|
||||
CATEGORIES= java
|
||||
MASTER_SITES= http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.3/
|
||||
MASTER_SITES= http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.6/
|
||||
DISTNAME= Main
|
||||
EXTRACT_SUFX= .java
|
||||
EXTRACT_ONLY= #
|
||||
@ -16,14 +16,11 @@ EXTRACT_ONLY= #
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A lexical analyzer generator, written for Java, in Java
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/${JAVADIR}/bin/java:${PORTSDIR}/java/jdk11
|
||||
|
||||
JAVADIR= jdk1.1.8
|
||||
JAVAC= ${LOCALBASE}/${JAVADIR}/bin/javac
|
||||
|
||||
USE_JAVA= 1.1+
|
||||
NEED_JAVAC= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_SUB= JAVADIR=${JAVADIR}
|
||||
PLIST_SUB= JAVAJARDIR=${JAVAJARDIR:S|^${PREFIX}/||}
|
||||
|
||||
do-extract:
|
||||
@${RM} -rf ${WRKDIR}
|
||||
@ -31,13 +28,14 @@ do-extract:
|
||||
@${CP} ${DISTDIR}/Main.java ${WRKDIR}
|
||||
|
||||
do-build:
|
||||
@${JAVAC} ${WRKDIR}/Main.java
|
||||
@cd ${WRKDIR} && \
|
||||
${JAVAC} -d . Main.java && \
|
||||
${JAR} cf ${PORTNAME}.jar JLex/*.class
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${JAVADIR}/jlex
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/*.class ${PREFIX}/${JAVADIR}/jlex
|
||||
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE} | ${SED} -e s:/usr/local:${PREFIX}: -e s:jdk1.1.8:${JAVADIR}:
|
||||
@${SED} s:JAVAJARDIR:${JAVAJARDIR}: < ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (Main.java) = 2845da1175e06a50fca26f62840caaa8
|
||||
MD5 (Main.java) = fe0cff5db3e2f0f5d67a153cf6c783af
|
||||
|
@ -1,4 +1,2 @@
|
||||
|
||||
JLex is installed into /usr/local/jdk1.1.8/jlex.
|
||||
JLex is installed into JAVAJARDIR.
|
||||
See http://www.cs.princeton.edu/~appel/modern/java/JLex.
|
||||
|
||||
|
@ -1,21 +1 @@
|
||||
%%JAVADIR%%/jlex/CAccept.class
|
||||
%%JAVADIR%%/jlex/CAcceptAnchor.class
|
||||
%%JAVADIR%%/jlex/CAlloc.class
|
||||
%%JAVADIR%%/jlex/CBunch.class
|
||||
%%JAVADIR%%/jlex/CDTrans.class
|
||||
%%JAVADIR%%/jlex/CDfa.class
|
||||
%%JAVADIR%%/jlex/CEmit.class
|
||||
%%JAVADIR%%/jlex/CError.class
|
||||
%%JAVADIR%%/jlex/CInput.class
|
||||
%%JAVADIR%%/jlex/CLexGen.class
|
||||
%%JAVADIR%%/jlex/CMakeNfa.class
|
||||
%%JAVADIR%%/jlex/CMinimize.class
|
||||
%%JAVADIR%%/jlex/CNfa.class
|
||||
%%JAVADIR%%/jlex/CNfa2Dfa.class
|
||||
%%JAVADIR%%/jlex/CNfaPair.class
|
||||
%%JAVADIR%%/jlex/CSet.class
|
||||
%%JAVADIR%%/jlex/CSpec.class
|
||||
%%JAVADIR%%/jlex/CUtility.class
|
||||
%%JAVADIR%%/jlex/JavaLexBitSet.class
|
||||
%%JAVADIR%%/jlex/Main.class
|
||||
@dirrm %%JAVADIR%%/jlex
|
||||
%%JAVAJARDIR%%/jlex.jar
|
||||
|
Loading…
Reference in New Issue
Block a user