# -*- 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           ocaml 1.1
PortGroup           github 1.0

github.setup        camlp5 pcre2-ocaml 7.5.2
name                ocaml-pcre2
revision            0
categories          ocaml devel
maintainers         {pguyot @pguyot} openmaintainer
# Actually LGPL-2.1 with a permissive exception
license             LGPL-2.1

github.tarball_from releases
use_bzip2           yes
distname            pcre2-${version}
extract.suffix      .tbz

description         Bindings to the Perl Compatibility Regular Expressions library (version 2)
long_description    pcre2-ocaml offers library functions for string pattern \
                    matching and substitution, similar to the functionality \
                    offered by the Perl language.

checksums           rmd160  8931ef2028de737b262b676bb48934301c6951a5 \
                    sha256  da3b9a6e566707c64ab78468fb4c453e930716740e3ae911566f6a378d0562c8 \
                    size    35073

depends_lib-append  port:pcre2
depends_build-append    port:ocaml-dune-configurator

ocaml.build_type    dune
