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

PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-core
version             108.00.02
revision            2
categories          devel ml
platforms           darwin
license             LGPL-2.1
maintainers         mww openmaintainer
description         core is Jane Street's alternative to the standard OCaml library
long_description    ${description}
homepage            https://ocaml.janestreet.com/code
master_sites        https://ocaml.janestreet.com/ocaml-core/${version}/individual/
checksums           rmd160  c03a86d0e8c65018c7aea492b5b604cf3b688a7f \
                    sha256  b4671f80dc0758f61ec6b18f20907627b45109b1ad8a51cf9978584d4160008b

distname            core-${version}

depends_lib         port:ocaml port:ocaml-findlib port:ocaml-variantslib port:ocaml-sexplib port:ocaml-fieldslib port:ocaml-bin-prot port:ocaml-pa-ounit port:ocaml-pipebang port:ocaml-res

use_oasis           yes
# stopped working with 108.00.02
#use_oasis_doc       yes

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

