# $Id$ PortSystem 1.0 PortGroup ocaml 1.0 name ocaml-ansiterminal version 0.6 revision 2 categories devel ml license LGPL-3 platforms darwin maintainers mww 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/610/ distname ANSITerminal-${version} depends_lib port:ocaml \ port:ocaml-findlib checksums rmd160 3cd49b82079a2e09d7ffd3aa97c9819ace5acb27 \ sha256 e2edb63c27508bf7a07da6a066cdaee4534c4ef480ecf38ea33089f2d538a27c # re-building the build system is necessary for v0.6 with OCaml 4.00.0 -- remove asap depends_build port:oasis pre-configure { system "cd ${worksrcpath} && ${prefix}/bin/oasis setup" } 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}