blob: 3f3a376dc4e9ba579bd86c3cb50c72711f138e10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.13 2014/10/13 12:03:15 jaapb Exp $
#
PKGNAME= ${DISTNAME} # defined to avoid prefixing with ocaml-
DISTNAME= menhir-20140422
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://cristal.inria.fr/~fpottier/menhir/
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://cristal.inria.fr/~fpottier/menhir/
COMMENT= LR(1) parser generator in OCaml
LICENSE= qpl-v1.0
USE_TOOLS+= gmake
MAKE_JOBS_SAFE= no
SUPERSEDES= ocaml-menhir-[0-9]*
OCAML_USE_FINDLIB= yes
.include "../../mk/ocaml.mk"
.if ${OCAML_USE_OPT_COMPILER} == "yes"
MAKE_ENV+= TARGET=native
.else
MAKE_ENV+= TARGET=byte
.endif
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
MAKE_ENV+= EGDIR=${EGDIR:Q} USE_OCAMLFIND=true \
OCAML_SITELIBDIR=${OCAML_SITELIBDIR}
.include "../../mk/bsd.pkg.mk"
|