# -*- 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-bitstring
github.setup        xguerin bitstring 5.0.1 v
revision            2
categories          ocaml devel
maintainers         nomaintainer
license             LGPL-2+
description         Bitstrings and bitstring matching
long_description    {*}${description} for OCaml.
checksums           rmd160  d5c64740035bc12f4fed33e600feca3205d340d5 \
                    sha256  dfadddc58cc6f1c8a8a41548112521cbcc8cd326f3052b80f19d7525bb254cc7 \
                    size    132967
github.tarball_from archive

depends_lib-append  port:ocaml-stdlib-shims

ocaml.build_type    dune

subport ocaml-ppx_bitstring {
    description     {*}${description} – PPX extension

    depends_lib     port:ocaml-bitstring \
                    port:ocaml-ppxlib
}
