mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
1a62aab476
grammar in BNF notation. PR: 52558 Submitted by: Frerich Raabe <frerich.raabe@gmx.de>
30 lines
644 B
Makefile
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>
|