# $Id$

PortSystem 1.0

name                moca
version             0.7.0
revision            3
categories          lang devel ml
license             QPL
platforms           darwin
maintainers         mww openmaintainer
description         general construction functions generator for OCaml data types with invariants
long_description    ${description}

homepage            http://moca.inria.fr/
master_sites        http://moca.inria.fr/archive/

checksums           rmd160  84384035883fe2f80f68024117ccf60c9697cb06 \
                    sha256  1d5fecd014890d5fcf1921a0145468a910ca7b87498fd12b9b670cb592ae74c2

patchfiles          patch-config-Makefile.config.in.diff

extract.suffix      .tgz

depends_build       port:ocaml
depends_run         port:ocaml

configure.pre_args  "${destroot}${prefix}"

use_parallel_build  no

# ocaml is not universal
universal_variant   no

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     ${name}-(\[0-9.\]+)\\.tgz