mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
New port: An extension to yacc to produce Java code.
PR: 39999 Submitted by: David Xu <davidxu@viatech.com.cn>
This commit is contained in:
parent
eec84bcf45
commit
477ad67cf7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62199
@ -67,6 +67,7 @@
|
||||
SUBDIR += bugbuddy
|
||||
SUBDIR += bugbuddy2
|
||||
SUBDIR += bugzilla
|
||||
SUBDIR += byaccj
|
||||
SUBDIR += c2lib
|
||||
SUBDIR += c2man
|
||||
SUBDIR += c4
|
||||
|
25
devel/byaccj/Makefile
Normal file
25
devel/byaccj/Makefile
Normal file
@ -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>
|
1
devel/byaccj/distinfo
Normal file
1
devel/byaccj/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (byaccj1.1.tar.gz) = f47267af6d9dfe6914be3c08ffc7713c
|
13
devel/byaccj/files/patch-src-Makefile
Normal file
13
devel/byaccj/files/patch-src-Makefile
Normal file
@ -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
|
1
devel/byaccj/pkg-comment
Normal file
1
devel/byaccj/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A java extension of BSD YACC-compatible parser generator
|
10
devel/byaccj/pkg-descr
Normal file
10
devel/byaccj/pkg-descr
Normal file
@ -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
|
1
devel/byaccj/pkg-plist
Normal file
1
devel/byaccj/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/byaccj
|
Loading…
Reference in New Issue
Block a user