diff options
author | Justin M. Seger <jseger@FreeBSD.org> | 1999-04-11 02:51:41 +0000 |
---|---|---|
committer | Justin M. Seger <jseger@FreeBSD.org> | 1999-04-11 02:51:41 +0000 |
commit | 42b59b76769704fd69760f733553df4f5436cd73 (patch) | |
tree | a7a72aa368038b2a00b325a49e4b4cb4216d7f2f /java | |
parent | ff4b9701d0f61ddbd1a1d0b1fac5fb081c308e27 (diff) | |
download | ports-42b59b76769704fd69760f733553df4f5436cd73.tar.gz ports-42b59b76769704fd69760f733553df4f5436cd73.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/java-cup/Makefile | 47 | ||||
-rw-r--r-- | java/java-cup/distinfo | 1 | ||||
-rw-r--r-- | java/java-cup/pkg-comment | 1 | ||||
-rw-r--r-- | java/java-cup/pkg-descr | 5 | ||||
-rw-r--r-- | java/java-cup/pkg-plist | 41 |
5 files changed, 95 insertions, 0 deletions
diff --git a/java/java-cup/Makefile b/java/java-cup/Makefile new file mode 100644 index 000000000000..ca1d75de2c40 --- /dev/null +++ b/java/java-cup/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: cup +# Version required: 0.10g +# Date created: 10 May 1998 +# Whom: nordwick@xcf.berkeley.edu +# +# $Id$ +# + +DISTNAME= java_cup_v10g +PKGNAME= java_cup-10.g +CATEGORIES= devel +MASTER_SITES= http://www.cs.princeton.edu/~appel/modern/java/CUP/ + +MAINTAINER= nordwick@xcf.berkeley.edu + +JAVASUBDIR= jdk1.1.7 +JAVADIR= ${PREFIX}/${JAVASUBDIR} +JAVALIBDIR= ${JAVADIR}/lib + +BUILD_DEPENDS= ${JAVADIR}/bin/javac:${PORTSDIR}/lang/jdk +RUN_DEPENDS= ${JAVADIR}//bin/java:${PORTSDIR}/lang/jdk + +NO_WRKSUBDIR= yes + +PLIST_SUB= JAVASUBDIR=${JAVASUBDIR} + +do-build: + for JSRC in ${WRKSRC}/java_cup/*.java ${WRKSRC}/java_cup/runtime/*.java; \ + do CLASSPATH=${WRKSRC} ${PREFIX}/jdk1.1.7/bin/javac $$JSRC; done + +do-install: + ${MKDIR} ${JAVALIBDIR}/java_cup + ${MKDIR} ${JAVALIBDIR}/java_cup/runtime + ${CP} ${WRKSRC}/java_cup/*.class ${JAVALIBDIR}/java_cup + ${CP} ${WRKSRC}/java_cup/runtime/*.class ${JAVALIBDIR}/java_cup/runtime + +post-install: + ${MKDIR} ${JAVADIR}/cup + ${INSTALL_MAN} ${WRKSRC}/manual.html ${JAVADIR}/cup + ${INSTALL_MAN} ${WRKSRC}/README ${JAVADIR}/cup + ${INSTALL_MAN} ${WRKSRC}/LICENSE ${JAVADIR}/cup + @${ECHO_MSG} "Documentation installed in ${JAVADIR}/cup" + @${ECHO_MSG} " manual.html -- How to build a grammer." + @${ECHO_MSG} " README -- How to get it working." + @${ECHO_MSG} " LICENSE -- How not to get sued." + +.include <bsd.port.mk> diff --git a/java/java-cup/distinfo b/java/java-cup/distinfo new file mode 100644 index 000000000000..b3db0c5726f6 --- /dev/null +++ b/java/java-cup/distinfo @@ -0,0 +1 @@ +MD5 (java_cup_v10g.tar.gz) = 2b124198a7ed696a63546a83199237f7 diff --git a/java/java-cup/pkg-comment b/java/java-cup/pkg-comment new file mode 100644 index 000000000000..90332226b81d --- /dev/null +++ b/java/java-cup/pkg-comment @@ -0,0 +1 @@ +An LALR parser generator in Java. diff --git a/java/java-cup/pkg-descr b/java/java-cup/pkg-descr new file mode 100644 index 000000000000..1f11430b59ca --- /dev/null +++ b/java/java-cup/pkg-descr @@ -0,0 +1,5 @@ +This is the Java based Constructor of Useful Parsers (CUP for short). It +serves the same role as the widely used program YAXX and in fact offers most +of the features of YACC. However, CUP is written in Java, uses specifications +including embedded Java code, and produces parsers which are implemented in +Java. diff --git a/java/java-cup/pkg-plist b/java/java-cup/pkg-plist new file mode 100644 index 000000000000..ba6c6366704b --- /dev/null +++ b/java/java-cup/pkg-plist @@ -0,0 +1,41 @@ +%%JAVASUBDIR%%/lib/java_cup/CUP$parser$actions.class +%%JAVASUBDIR%%/lib/java_cup/Main.class +%%JAVASUBDIR%%/lib/java_cup/action_part.class +%%JAVASUBDIR%%/lib/java_cup/action_production.class +%%JAVASUBDIR%%/lib/java_cup/assoc.class +%%JAVASUBDIR%%/lib/java_cup/emit.class +%%JAVASUBDIR%%/lib/java_cup/internal_error.class +%%JAVASUBDIR%%/lib/java_cup/lalr_item.class +%%JAVASUBDIR%%/lib/java_cup/lalr_item_set.class +%%JAVASUBDIR%%/lib/java_cup/lalr_state.class +%%JAVASUBDIR%%/lib/java_cup/lalr_transition.class +%%JAVASUBDIR%%/lib/java_cup/lexer.class +%%JAVASUBDIR%%/lib/java_cup/lr_item_core.class +%%JAVASUBDIR%%/lib/java_cup/non_terminal.class +%%JAVASUBDIR%%/lib/java_cup/nonassoc_action.class +%%JAVASUBDIR%%/lib/java_cup/parse_action.class +%%JAVASUBDIR%%/lib/java_cup/parse_action_row.class +%%JAVASUBDIR%%/lib/java_cup/parse_action_table.class +%%JAVASUBDIR%%/lib/java_cup/parse_reduce_row.class +%%JAVASUBDIR%%/lib/java_cup/parse_reduce_table.class +%%JAVASUBDIR%%/lib/java_cup/parser.class +%%JAVASUBDIR%%/lib/java_cup/production.class +%%JAVASUBDIR%%/lib/java_cup/production_part.class +%%JAVASUBDIR%%/lib/java_cup/reduce_action.class +%%JAVASUBDIR%%/lib/java_cup/shift_action.class +%%JAVASUBDIR%%/lib/java_cup/sym.class +%%JAVASUBDIR%%/lib/java_cup/symbol.class +%%JAVASUBDIR%%/lib/java_cup/symbol_part.class +%%JAVASUBDIR%%/lib/java_cup/symbol_set.class +%%JAVASUBDIR%%/lib/java_cup/terminal.class +%%JAVASUBDIR%%/lib/java_cup/terminal_set.class +%%JAVASUBDIR%%/lib/java_cup/version.class +%%JAVASUBDIR%%/lib/java_cup/runtime/Symbol.class +%%JAVASUBDIR%%/lib/java_cup/runtime/lr_parser.class +%%JAVASUBDIR%%/lib/java_cup/runtime/virtual_parse_stack.class +@dirrm %%JAVASUBDIR%%/lib/java_cup/runtime +@dirrm %%JAVASUBDIR%%/lib/java_cup +%%JAVASUBDIR%%/cup/manual.html +%%JAVASUBDIR%%/cup/README +%%JAVASUBDIR%%/cup/LICENSE +@dirrm %%JAVASUBDIR%%/cup |