aboutsummaryrefslogtreecommitdiffstats
path: root/devel/menhir/Makefile
blob: 51208d12f52cc4deed2db543d449a26fec87528a (plain) (blame)
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
# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$

PORTNAME=   menhir
PORTVERSION=    20080912
CATEGORIES= devel
MASTER_SITES=   http://cristal.inria.fr/~fpottier/menhir/

MAINTAINER= ports@FreeBSD.org
COMMENT=    LR(1) parser generator for OCaml

USES=       gmake
USE_OCAML=  yes
USE_OCAML_FINDLIB=  yes
USE_OCAMLFIND_PLIST=    yes
OCAML_PKGDIRS=      menhirLib

INSTALL_TARGET= install
MAKE_ENV+=  mandir="${MANPREFIX}/man/man1"
MAKE_JOBS_UNSAFE=   yes
MAN1=       menhir.1

.if !defined(NOPORTDOCS)
INSTALL_TARGET+=    docinstall
DOCSDIR=    ${PREFIX}/share/doc/ocaml/${PORTNAME}
MAKE_ENV+=  docdir="${DOCSDIR}"
.endif

NO_STAGE=   yes
.include <bsd.port.mk>