diff options
author | demon <demon@FreeBSD.org> | 2002-06-30 10:11:57 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2002-06-30 10:11:57 +0800 |
commit | e4f29dac83e3398c3ec37dd45fd5d120388b8fff (patch) | |
tree | 53ddc99bd454e6d584b8e870a370105ef7668881 | |
parent | abb2acaf449095ba7bbdf8726662ae9467e9a846 (diff) | |
download | freebsd-ports-gnome-e4f29dac83e3398c3ec37dd45fd5d120388b8fff.tar.gz freebsd-ports-gnome-e4f29dac83e3398c3ec37dd45fd5d120388b8fff.tar.zst freebsd-ports-gnome-e4f29dac83e3398c3ec37dd45fd5d120388b8fff.zip |
New port: An extension to yacc to produce Java code.
PR: 39999
Submitted by: David Xu <davidxu@viatech.com.cn>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/byaccj/Makefile | 25 | ||||
-rw-r--r-- | devel/byaccj/distinfo | 1 | ||||
-rw-r--r-- | devel/byaccj/files/patch-src-Makefile | 13 | ||||
-rw-r--r-- | devel/byaccj/pkg-comment | 1 | ||||
-rw-r--r-- | devel/byaccj/pkg-descr | 10 | ||||
-rw-r--r-- | devel/byaccj/pkg-plist | 1 |
7 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index d8868ad2f16f..8576921a0a27 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -67,6 +67,7 @@ SUBDIR += bugbuddy SUBDIR += bugbuddy2 SUBDIR += bugzilla + SUBDIR += byaccj SUBDIR += c2lib SUBDIR += c2man SUBDIR += c4 diff --git a/devel/byaccj/Makefile b/devel/byaccj/Makefile new file mode 100644 index 000000000000..2b3cd28119ea --- /dev/null +++ b/devel/byaccj/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: byacc +# Date created: 28 Jun 2002 +# Whom: David Xu +# +# $FreeBSD$ +# + +PORTNAME= byaccj +PORTVERSION= 1.1 +CATEGORIES= devel java +MASTER_SITES= http://troi.lincom-asg.com/~rjamison/byacc/ \ + http://opensource.zjonline.com.cn/distfiles/ +DISTNAME= byaccj1.1 + +MAINTAINER= davidxu@viatech.com.cn + +WRKSRC= $(WRKDIR)/byaccj1.1/src + +post-patch: + @${PERL} -pi -e 's#<malloc.h>#<stdlib.h>#' ${WRKSRC}/defs.h ${WRKSRC}/*c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/yacc ${PREFIX}/bin/byaccj + +.include <bsd.port.mk> diff --git a/devel/byaccj/distinfo b/devel/byaccj/distinfo new file mode 100644 index 000000000000..93e00b465c2f --- /dev/null +++ b/devel/byaccj/distinfo @@ -0,0 +1 @@ +MD5 (byaccj1.1.tar.gz) = f47267af6d9dfe6914be3c08ffc7713c diff --git a/devel/byaccj/files/patch-src-Makefile b/devel/byaccj/files/patch-src-Makefile new file mode 100644 index 000000000000..3eb75818dc82 --- /dev/null +++ b/devel/byaccj/files/patch-src-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Sun Jun 30 06:02:58 2002 ++++ Makefile Sun Jun 30 06:03:43 2002 +@@ -4,8 +4,8 @@ + ## Author: Bob Jamison + ################################################# + +-CC = gcc +-CFLAGS = -O ++CC ?= gcc ++CFLAGS ?= -O + LDFLAGS = -static + TAR = /bin/tar + GZIP = /usr/sbin/gzip diff --git a/devel/byaccj/pkg-comment b/devel/byaccj/pkg-comment new file mode 100644 index 000000000000..d9097f1226ec --- /dev/null +++ b/devel/byaccj/pkg-comment @@ -0,0 +1 @@ +A java extension of BSD YACC-compatible parser generator diff --git a/devel/byaccj/pkg-descr b/devel/byaccj/pkg-descr new file mode 100644 index 000000000000..868a475efdb8 --- /dev/null +++ b/devel/byaccj/pkg-descr @@ -0,0 +1,10 @@ +BYACC/Java is an extension of the Berkeley v 1.8 YACC-compatible parser +generator. Standard YACC takes a YACC source file, and generates one or +more C files from it, which if compiled properly, will produce a LALR- +grammar parser. this extension support a -J option to generate Java source +code. + +WWW: http://troi.lincom-asg.com/~rjamison/byacc/ + +- David Xu +davidxu@viatech.com.cn diff --git a/devel/byaccj/pkg-plist b/devel/byaccj/pkg-plist new file mode 100644 index 000000000000..893c47448cd0 --- /dev/null +++ b/devel/byaccj/pkg-plist @@ -0,0 +1 @@ +bin/byaccj |