2007-03-06 20:17:44 +01:00
|
|
|
# New ports collection makefile for: menhir
|
|
|
|
# Date created: 5 March 2007
|
|
|
|
# Whom: Jaap Boender <jaapb@kerguelen.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= menhir
|
2009-02-25 17:58:25 +01:00
|
|
|
PORTVERSION= 20080912
|
2007-03-06 20:17:44 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://cristal.inria.fr/~fpottier/menhir/
|
|
|
|
|
|
|
|
MAINTAINER= jaapb@kerguelen.org
|
|
|
|
COMMENT= LR(1) parser generator for OCaml
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_OCAML= yes
|
2008-06-02 08:19:11 +02:00
|
|
|
USE_OCAML_FINDLIB= yes
|
2009-02-25 17:58:25 +01:00
|
|
|
USE_OCAMLFIND_PLIST= yes
|
|
|
|
OCAML_PKGDIRS= menhirLib
|
2007-03-06 20:17:44 +01:00
|
|
|
|
2008-06-02 08:19:11 +02:00
|
|
|
INSTALL_TARGET= install
|
|
|
|
MAKE_ENV+= mandir="${MANPREFIX}/man/man1"
|
2007-03-11 23:18:44 +01:00
|
|
|
MAN1= menhir.1
|
|
|
|
|
2008-06-02 08:19:11 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET+= docinstall
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
|
|
|
|
MAKE_ENV+= docdir="${DOCSDIR}"
|
|
|
|
.endif
|
|
|
|
|
2008-04-07 00:51:21 +02:00
|
|
|
.include <bsd.port.mk>
|