Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 07:21:53 -0700 (PDT)
From:      David Xu <davidxu@viatech.com.cn>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39999: New port: A java extension of BSD YACC-compatible parser generator
Message-ID:  <200206291421.g5TELrxE073546@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39999
>Category:       ports
>Synopsis:       New port: A java extension of BSD YACC-compatible parser generator
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 29 07:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Xu
>Release:        FreeBSD 4.6-release
>Organization:
Viatech
>Environment:
FreeBSD slim.viasoft.com.cn 4.6-RELEASE FreeBSD 4.6-RELEASE #2: Wed Jun 19
12:25:43 CST 2002     root@slim.viasoft.com.cn:/usr/src/sys/compile/xu  i386

>Description:
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 as well as support generate C source code.

>How-To-Repeat:
      
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	byaccj
#	byaccj/Makefile
#	byaccj/distinfo
#	byaccj/pkg-comment
#	byaccj/pkg-descr
#	byaccj/files
#	byaccj/files/patch-aa
#	byaccj/pkg-plist
#
echo c - byaccj
mkdir -p byaccj > /dev/null 2>&1
echo x - byaccj/Makefile
sed 's/^X//' >byaccj/Makefile << 'END-of-byaccj/Makefile'
X# New ports collection makefile for:	byacc
X# Date created:		28 Jun 2002
X# Whom:			David Xu
X#
X# $FreeBSD$
X#
X
XPORTNAME=		byaccj
XPORTVERSION=		1.1
XCATEGORIES=		devel
XMASTER_SITES=		http://troi.lincom-asg.com/~rjamison/byacc/ \
X			http://opensource.zjonline.com.cn/distfiles/
X
XDISTNAME=		byaccj1.1
X
XMAINTAINER=		davidxu@viatech.com.cn
X
XWRKSRC=			$(WRKDIR)/byaccj1.1/src
XALL_TARGET=		freebsd
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/byaccj ${PREFIX}/bin
Xpost-install:
X	strip ${PREFIX}/bin/byaccj
X
X.include <bsd.port.mk>
END-of-byaccj/Makefile
echo x - byaccj/distinfo
sed 's/^X//' >byaccj/distinfo << 'END-of-byaccj/distinfo'
XMD5 (byaccj1.1.tar.gz) = f47267af6d9dfe6914be3c08ffc7713c
END-of-byaccj/distinfo
echo x - byaccj/pkg-comment
sed 's/^X//' >byaccj/pkg-comment << 'END-of-byaccj/pkg-comment'
XA java extension of BSD YACC-compatible parser generator
END-of-byaccj/pkg-comment
echo x - byaccj/pkg-descr
sed 's/^X//' >byaccj/pkg-descr << 'END-of-byaccj/pkg-descr'
XBYACC/Java is an extension of the Berkeley v 1.8 YACC-compatible parser 
Xgenerator. Standard YACC takes a YACC source file, and generates one or
Xmore C files from it, which if compiled properly, will produce a LALR-
Xgrammar parser. this extension support a -J option to generate Java source
Xcode.
X
XWWW: http://troi.lincom-asg.com/~rjamison/byacc/
X
X- David Xu
Xdavidxu@viatech.com.cn
END-of-byaccj/pkg-descr
echo c - byaccj/files
mkdir -p byaccj/files > /dev/null 2>&1
echo x - byaccj/files/patch-aa
sed 's/^X//' >byaccj/files/patch-aa << 'END-of-byaccj/files/patch-aa'
X--- Makefile	Sat Jun 29 21:56:55 2002
X+++ Makefile.new	Sat Jun 29 21:58:36 2002
X@@ -26,6 +26,10 @@
X 	verbose.o \
X 	warshall.o
X 
X+freebsd: yacc
X+	strip yacc
X+	mv -f yacc byaccj
X+
X irix: yacc
X 	strip yacc
X 	mv yacc yacc.irix
END-of-byaccj/files/patch-aa
echo x - byaccj/pkg-plist
sed 's/^X//' >byaccj/pkg-plist << 'END-of-byaccj/pkg-plist'
Xbin/byaccj
X
END-of-byaccj/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206291421.g5TELrxE073546>