# $Id$

PortSystem          1.0
PortGroup ocaml 1.0
name                ocaml-menhir
revision            1
version             20141215
categories          devel ml
platforms           darwin
maintainers         nomaintainer
license             {QPL LGPL}
description         Menhir is a LR(1) parser generator for the Objective Caml programming language.
long_description    Menhir is a LR(1) parser generator for the Objective Caml programming language.
homepage            http://cristal.inria.fr/~fpottier/menhir
master_sites        http://cristal.inria.fr/~fpottier/menhir

distname            menhir-${version}

checksums           rmd160  72f172fdacf0f94850ecb1e67b630d106ca054c6 \
                    sha256  2592967c123a31e1b6566ab9f6034e7a0a709d57d547097f05693baf96a46fa4

depends_lib         port:ocaml-findlib \
                    port:ocaml

use_configure       no
use_parallel_build  no

livecheck.type      regex
livecheck.regex     {menhir-(.*)\.tar\.gz}

build.env           PREFIX=${prefix} USE_OCAMLFIND=false
destroot.env        PREFIX=${prefix} USE_OCAMLFIND=false
destroot.destdir    PREFIX=${destroot}/${prefix}