mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add bnf 1.6.9, a program to generate a C parser given a
grammar in BNF notation. PR: 52558 Submitted by: Frerich Raabe <frerich.raabe@gmx.de>
This commit is contained in:
parent
c6e1198988
commit
1a62aab476
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82096
6 changed files with 57 additions and 0 deletions
|
@ -65,6 +65,7 @@
|
|||
SUBDIR += bin86
|
||||
SUBDIR += bison
|
||||
SUBDIR += bison1875
|
||||
SUBDIR += bnf
|
||||
SUBDIR += boaconstructor
|
||||
SUBDIR += boehm-gc
|
||||
SUBDIR += bonobo
|
||||
|
|
29
devel/bnf/Makefile
Normal file
29
devel/bnf/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# New ports collection makefile for: bnf
|
||||
# Date created: 22 May 2003
|
||||
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= bnf
|
||||
PORTVERSION= 1.6.9
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/bnf/
|
||||
|
||||
MAINTAINER= frerich.raabe@gmx.de
|
||||
COMMENT= Generate C parser given a grammar in BNF notation
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/src/bnf ${PREFIX}/bin/bnf
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/bnf.info ${PREFIX}/info
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@install-info ${PREFIX}/info/bnf.info ${PREFIX}/info/dir
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/bnf/distinfo
Normal file
1
devel/bnf/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (bnf-1.6.9.tar.gz) = 62d9ae3b2eedb933921048a5ba81f57f
|
13
devel/bnf/files/patch-doc::bnf.texi
Normal file
13
devel/bnf/files/patch-doc::bnf.texi
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- doc/bnf.texi.orig Thu May 22 06:32:29 2003
|
||||
+++ doc/bnf.texi Thu May 22 06:34:23 2003
|
||||
@@ -2,6 +2,10 @@
|
||||
@c %**start of header
|
||||
@setfilename bnf.info
|
||||
@settitle BNF Parser Generator
|
||||
+@dircategory Programming Tools
|
||||
+@direntry
|
||||
+* bnf: (bnf). A simple parser generator
|
||||
+@end direntry
|
||||
@c %**end of header
|
||||
|
||||
|
9
devel/bnf/pkg-descr
Normal file
9
devel/bnf/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
The BNF parser generator takes a syntax not unlike BNF and generates
|
||||
a "C" parser for it, a parser that can parse either strings or files.
|
||||
|
||||
This is a flexible tool, meant for smaller parsing tasks where
|
||||
bison+flex are just too big to use.
|
||||
|
||||
WWW: http://www.nongnu.org/bnf/
|
||||
|
||||
- Frerich Raabe frerich.raabe@gmx.de
|
4
devel/bnf/pkg-plist
Normal file
4
devel/bnf/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
bin/bnf
|
||||
%%PORTDOCS%%@unexec install-info --delete %D/%%PORTDOCS%%info/bnf.info %D/info/dir
|
||||
%%PORTDOCS%%info/bnf.info
|
||||
%%PORTDOCS%%@exec install-info %D/%%PORTDOCS%%info/bnf.info %D/info/dir
|
Loading…
Add table
Reference in a new issue