# $Id: Portfile 98499 2012-10-07 11:42:35Z mww@macports.org $

PortSystem 1.0
PortGroup ocaml 1.0

name                ocaml-variantslib
version             108.00.02
revision            2
categories          devel ml
platforms           darwin
license             LGPL-2.1
maintainers         mww openmaintainer
description         OCaml variants as first class values
long_description    ${description}

homepage            https://ocaml.janestreet.com/code
master_sites        https://ocaml.janestreet.com/ocaml-core/${version}/individual/
distname            variantslib-${version}

checksums           rmd160  a24f297701c817f5d455a590055562c70272629a \
                    sha256  7328a0a01e90307b270d2f0cb5bf4e4d9fd2d8148e92cd524ed4b05a4c4bd223

depends_lib         port:ocaml port:ocaml-findlib port:ocaml-type-conv

use_oasis           yes

livecheck.type      regex
livecheck.url       https://ocaml.janestreet.com/ocaml-core/
livecheck.regex     (\[0-9\]+\\\.\[0-9\\\.\]+)

