where needed. The next step towards Ocaml 4.3.0. Bulk build by sthen@ identified several laggards which are included here. ok anil@ sthen@ so final 4.3.0 polishing can be done in-tree.
34 lines
721 B
Makefile
34 lines
721 B
Makefile
# $OpenBSD: Makefile,v 1.5 2016/06/23 19:23:53 krw Exp $
|
|
|
|
COMMENT = OCaml parser generator for LR(1) grammars
|
|
|
|
DISTNAME = menhir-20160303
|
|
PKGNAME = ocaml-${DISTNAME}
|
|
REVISION = 0
|
|
|
|
MASTER_SITES = http://cristal.inria.fr/~fpottier/menhir/
|
|
|
|
HOMEPAGE = http://cristal.inria.fr/~fpottier/menhir/
|
|
CATEGORIES = devel
|
|
|
|
# QPLv1/LGPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/ocaml
|
|
|
|
WANTLIB = c m
|
|
BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
|
|
|
|
USE_GMAKE = Yes
|
|
MAKE_FLAGS = docdir='${WRKINST}${PREFIX}/share/doc/ocaml-menhir' \
|
|
mandir='${WRKINST}${PREFIX}/man/man1'
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.arch.mk>
|
|
.if ! ${PROPERTIES:Mocaml_native}
|
|
MAKE_FLAGS += TARGET=byte
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|