# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

name                moca
version             0.7.0
revision            3
categories          lang devel ocaml
license             QPL
platforms           darwin
maintainers         nomaintainer
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

extract.suffix      .tgz

depends_build       port:ocaml
depends_run         port:ocaml

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

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
