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

PortSystem          1.0

name                caml-text
version             0.2
distname            text-${version}
categories          devel ml
maintainers         avsm
description         library for Unicode text in OCaml
long_description    OCaml-Text is a library for dealing with text, \
                    i.e. sequence of unicode characters, in a convenient way.
platforms           darwin
homepage            http://forge.ocamlcore.org/projects/ocaml-text/
master_sites        http://forge.ocamlcore.org/frs/download.php/211/
patchfiles          patch-Makefile.diff

depends_lib         port:ocaml port:caml-findlib

checksums           md5     8f6372dd2837d8b8c4050d0a3dc966e5 \
                    sha1    16800464a73e82113087478d4212afd6af39291a \
                    rmd160  f72dacb4004c81b2ea0b72bf40605cb9fe133eef

use_configure       no
set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
destroot.post_args  DESTDIR="$ocamlfind_destdir"

livecheck.type      regex
livecheck.url       http://forge.ocamlcore.org/frs/?group_id=100
livecheck.regex     {>text-(.*)\.tar\.gz}
