Add ruby-byaccr, a parser generator for ruby based on 'Berkeley Yacc'
and 'Berkeley Yacc for Java'.
This commit is contained in:
parent
dcc056cf75
commit
67ef948d38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34587
@ -280,6 +280,7 @@
|
||||
SUBDIR += robodoc
|
||||
SUBDIR += rpc2
|
||||
SUBDIR += ruby-amstd
|
||||
SUBDIR += ruby-byaccr
|
||||
SUBDIR += ruby-date2
|
||||
SUBDIR += ruby-filelock
|
||||
SUBDIR += ruby-intl
|
||||
|
37
devel/ruby-byaccr/Makefile
Normal file
37
devel/ruby-byaccr/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: byaccr
|
||||
# Date created: 2 Nov 2000
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= byaccr
|
||||
PORTVERSION= 0.0
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= http://kt-www.jaist.ac.jp:8000/~ttate/ftp/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
USE_RUBY= yes
|
||||
RUBY_NO_BUILD_DEPENDS= yes
|
||||
RUBY_NO_RUN_DEPENDS= yes
|
||||
|
||||
EXAMPLES= Parser.rb Test.rb cal.y
|
||||
|
||||
post-patch:
|
||||
${PERL} -i.orig -pe 's,^#include <malloc\.h>,#include <stdlib.h>,' ${WRKSRC}/*.[ch]
|
||||
|
||||
pre-build:
|
||||
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/byaccr
|
||||
.for f in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/byaccr/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/ruby-byaccr/distinfo
Normal file
1
devel/ruby-byaccr/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/byaccr-0.0.tar.gz) = 5d4fc00605e882699d08c11b6bd83dd7
|
20
devel/ruby-byaccr/files/Makefile
Normal file
20
devel/ruby-byaccr/files/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= byaccr
|
||||
SRCS= closure.c \
|
||||
error.c \
|
||||
lalr.c \
|
||||
lr0.c \
|
||||
main.c \
|
||||
mkpar.c \
|
||||
output.c \
|
||||
reader.c \
|
||||
skeleton.c \
|
||||
symtab.c \
|
||||
verbose.c \
|
||||
warshall.c
|
||||
NOMAN= YES
|
||||
BINDIR= ${LOCALBASE}/bin
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
1
devel/ruby-byaccr/pkg-comment
Normal file
1
devel/ruby-byaccr/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Parser generator for ruby based on 'Berkeley Yacc' and 'Berkeley Yacc for Java'
|
4
devel/ruby-byaccr/pkg-descr
Normal file
4
devel/ruby-byaccr/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
byaccr is a parser generator for ruby based on 'Berkeley Yacc' and
|
||||
'Berkeley Yacc for Java'.
|
||||
|
||||
Author: Takaaki Tateishi <ttate@jaist.ac.jp>
|
5
devel/ruby-byaccr/pkg-plist
Normal file
5
devel/ruby-byaccr/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
bin/byaccr
|
||||
%%RUBY_EXAMPLESDIR%%/byaccr/Parser.rb
|
||||
%%RUBY_EXAMPLESDIR%%/byaccr/Test.rb
|
||||
%%RUBY_EXAMPLESDIR%%/byaccr/cal.y
|
||||
@dirrm %%RUBY_EXAMPLESDIR%%/byaccr
|
Loading…
Reference in New Issue
Block a user