aboutsummaryrefslogtreecommitdiff
path: root/java/jlex
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-07-04 00:10:23 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-07-04 00:10:23 +0000
commited8f26a14fadbd522b5323bca1bff7e2047f539a (patch)
tree115898f18b1b30bbd00e560851d703dee608e8de /java/jlex
parentdd6729f395f13df0ece1199ade01f96702a31de7 (diff)
downloadports-ed8f26a14fadbd522b5323bca1bff7e2047f539a.tar.gz
ports-ed8f26a14fadbd522b5323bca1bff7e2047f539a.zip
Notes
Diffstat (limited to 'java/jlex')
-rw-r--r--java/jlex/Makefile43
-rw-r--r--java/jlex/distinfo1
-rw-r--r--java/jlex/pkg-comment1
-rw-r--r--java/jlex/pkg-descr8
-rw-r--r--java/jlex/pkg-message4
-rw-r--r--java/jlex/pkg-plist21
6 files changed, 78 insertions, 0 deletions
diff --git a/java/jlex/Makefile b/java/jlex/Makefile
new file mode 100644
index 000000000000..6f5ae0357060
--- /dev/null
+++ b/java/jlex/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: jlex
+# Version required: 1.2.3
+# Date created: 1 June 1999
+# Whom: jake@checker.org
+#
+# $Id$
+#
+
+DISTNAME= Main
+PKGNAME= jlex-1.2.3
+CATEGORIES= java
+MASTER_SITES= http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.3/
+EXTRACT_SUFX= .java
+
+MAINTAINER= jake@checker.org
+
+BUILD_DEPENDS= ${LOCALBASE}/${JAVADIR}/bin/java:${PORTSDIR}/java/jdk
+
+EXTRACT_ONLY=
+
+JAVADIR= jdk1.1.8
+JAVAC= ${LOCALBASE}/${JAVADIR}/bin/javac
+
+NO_WRKSUBDIR= yes
+
+PLIST_SUB= JAVADIR=${JAVADIR}
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @${CP} ${DISTDIR}/Main.java ${WRKDIR}
+
+do-build:
+ @${JAVAC} ${WRKDIR}/Main.java
+
+do-install:
+ @${MKDIR} ${PREFIX}/${JAVADIR}/jlex
+ @${INSTALL_SCRIPT} ${WRKDIR}/*.class ${PREFIX}/${JAVADIR}/jlex
+
+post-install:
+ @${CAT} ${PKGMESSAGE} | ${SED} -e s:/usr/local:${PREFIX}: -e s:jdk1.1.8:${JAVADIR}:
+
+.include <bsd.port.mk>
diff --git a/java/jlex/distinfo b/java/jlex/distinfo
new file mode 100644
index 000000000000..9c1183c7cf60
--- /dev/null
+++ b/java/jlex/distinfo
@@ -0,0 +1 @@
+MD5 (Main.java) = 2845da1175e06a50fca26f62840caaa8
diff --git a/java/jlex/pkg-comment b/java/jlex/pkg-comment
new file mode 100644
index 000000000000..bdb9f35f7957
--- /dev/null
+++ b/java/jlex/pkg-comment
@@ -0,0 +1 @@
+A lexical analyzer generator, written for Java, in Java
diff --git a/java/jlex/pkg-descr b/java/jlex/pkg-descr
new file mode 100644
index 000000000000..3e60ef181fc9
--- /dev/null
+++ b/java/jlex/pkg-descr
@@ -0,0 +1,8 @@
+The JLex utility is based upon the Lex lexical analyzer generator model.
+JLex takes a specification file similar to that accepted by Lex, then
+creates a Java source file for the corresponding lexical analyzer.
+
+WWW: http://www.cs.princeton.edu/~appel/modern/java/JLex/
+
+- Jake
+jake@checker.org
diff --git a/java/jlex/pkg-message b/java/jlex/pkg-message
new file mode 100644
index 000000000000..d24f12b63bd6
--- /dev/null
+++ b/java/jlex/pkg-message
@@ -0,0 +1,4 @@
+
+JLex is installed into /usr/local/jdk1.1.8/jlex.
+See http://www.cs.princeton.edu/~appel/modern/java/JLex.
+
diff --git a/java/jlex/pkg-plist b/java/jlex/pkg-plist
new file mode 100644
index 000000000000..102404f707fb
--- /dev/null
+++ b/java/jlex/pkg-plist
@@ -0,0 +1,21 @@
+%%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