# $Id: Portfile 60454 2009-11-12 23:35:31Z ryandesign@macports.org $

PortSystem          1.0

name                caml-uuidm
version             0.9.3
categories          devel ml
maintainers         avsm openmaintainer
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/
platforms           darwin
master_sites        http://erratique.ch/software/uuidm/releases

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

checksums           md5     b33a5a7400f3f57fa78d31443ecf2438 \
                    sha1    fe0e91710e21baf386670dbedca71e59a71eaa15 \
                    rmd160  0063eaa85baaaf22308c9e22b04f552b4f107982

depends_lib         port:ocaml \
                    port:caml-findlib \

use_configure       no
use_parallel_build  no
patchfiles          patch-Makefile.diff patch-META.diff

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