devel/coccinelle package. Menhir is a LR(1) parser generator for the Objective Caml programming language. That is, Menhir compiles LR(1) grammar specifications down to Objective Caml code. It is mostly compatible with ocamlyacc(1).
27 lines
648 B
Makefile
27 lines
648 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/10/13 22:45:03 bjs Exp $
|
|
#
|
|
|
|
DISTNAME= menhir-20080912
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://cristal.inria.fr/~fpottier/menhir/
|
|
|
|
MAINTAINER= bjs@NetBSD.org
|
|
HOMEPAGE= http://cristal.inria.fr/~fpottier/menhir/
|
|
COMMENT= LR(1) parser generator in OCaml
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
MAKE_ENV= EGDIR=${EGDIR:Q}
|
|
|
|
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.09
|
|
|
|
post-extract:
|
|
${RM} ${WRKSRC}/demos/calc/.omakedb*
|
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|