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

PortSystem 1.0
PortGroup ocaml 1.0

name                ocaml-typehashlib
version             108.00.02
revision            2
categories          devel ml
platforms           darwin
license             LGPL-2.1
maintainers         mww openmaintainer
description         Syntax extension for deriving "typehash" functions automatically
long_description    ${description}

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

checksums           rmd160  a30f641d0e5ef820e2e0566e8d1b221e5724fc34 \
                    sha256  ed5b93557333e68281d91d8b0b0851b12f379063879c2d802e261ae4bd40bd38

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\\\.\]+)

