1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/bnf/Makefile
Will Andrews 1a62aab476 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>
2003-06-03 02:40:57 +00:00

30 lines
644 B
Makefile

# 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>