# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup github    1.0
PortGroup ocaml     1.1

name                ocaml-re
github.setup        ocaml ocaml-re 1.11.0

categories          ocaml devel
maintainers         {landonf @landonf} openmaintainer
license             MIT
description         Regular expression library for OCaml
long_description    A pure OCaml regular expression library with support for \
                    Perl, POSIX extended, and Emacs-style regular expressions \
                    as well as shell-style file globbing.

checksums           rmd160  a6875b049935de7f08dc98b6806d22ca7839e7cf \
                    sha256  e32660b6068b78a8588ca065a6a2b01ae7339584d8261356beac0e26dbc5f854 \
                    size    93319

github.tarball_from archive

depends_lib-append  port:ocaml-seq

depends_test-append port:ocaml-ounit

ocaml.build_type    dune

post-destroot {
    file rename -- \
        ${destroot}${prefix}/share/doc/re \
        ${destroot}${prefix}/share/doc/${name}
}
