9b4688a576
re2c is a preprocessor that generates C-based recognizers from regular expressions. The input to re2c consists of C/C++ source interleaved with comments of the form /*!re2c ... */ which contain scanner specifications. In the output these comments are replaced with code that, when executed, will find the next input token and then execute some user-supplied token-specific code. re2c generates parsers which are not table-based, and can be twice as fast as flex.
18 lines
477 B
Makefile
18 lines
477 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2003/07/29 16:17:41 agc Exp $
|
|
|
|
DISTNAME= re2c-0.9.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.netsw.org/softeng/compilerconstruct/re2c/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.tildeslash.org/
|
|
COMMENT= Deterministic Finite State Automaton generator
|
|
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= default
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/re2c ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/re2c.1 ${PREFIX}/man/man1/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|