PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-ansiterminal
version             0.6.5
revision            1
categories          ocaml devel
license             LGPL-3
platforms           darwin
maintainers         nomaintainer
description         OCaml bindings for ANSI colors and cursor movements
long_description    ${description}

homepage            http://ansiterminal.forge.ocamlcore.org/
master_sites        https://forge.ocamlcore.org/frs/download.php/1206/

distname            ANSITerminal-${version}

depends_lib         port:ocaml \
                    port:ocaml-findlib

checksums           rmd160  7736456059f84fd5b15b2a27b3d692b6617a5a4a \
                    sha256  26874e1bd737f803f84acdc2256b48c76c88bea12c0ce06172db8428367533c9

use_oasis           yes
use_oasis_doc       yes

configure.args-append "--override docdir ${destroot}${prefix}/share/doc/${name}"

livecheck.type      regex
livecheck.url       https://forge.ocamlcore.org/frs/?group_id=187
livecheck.regex     ANSITerminal-(\[0-9.\]+)${extract.suffix}