PortSystem 1.0
PortGroup ocaml 1.0

name                ocaml-uuidm
version             0.9.5
categories          ocaml devel
platforms           darwin
license             BSD
maintainers         nomaintainer
description         RFC 4122-compliant UUID library for OCaml
long_description    Uuidm is an OCaml module implementing 128 bits universally \
                    unique identifiers version 3, 5 (name based with MD5, SHA-1 \
                    hashing) and 4 (random based) according to RFC 4122.
homepage            http://erratique.ch/software/uuidm/
master_sites        http://erratique.ch/software/uuidm/releases

distname            uuidm-${version}
use_bzip2           yes
extract.suffix      .tbz

checksums           rmd160  8a1417d6a64899e406859cfb72cea41f7591d3f7 \
                    sha256  b5d99f7a53d184fd1e8405f8f57a1c4407530bd5f6a4f75edaf0ae1482ee6f0d

use_oasis           yes

configure.args-append "--override bindir ${destroot}${prefix}/bin"

livecheck.type      regex
livecheck.url       http://erratique.ch/software/uuidm/releases
livecheck.regex     {> uuidm-(.*)\.tbz}