# -*- 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-httpaf
github.setup        inhabitedtype httpaf 0.7.1
revision            2
categories          ocaml www
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             BSD
description         High-performance, memory-efficient and scalable web-server
long_description    {*}${description} for OCaml.
checksums           rmd160  2abe3578ef182de193039af7de4f26d90820c9dd \
                    sha256  ea2e97f4e2a4b03931be232113f503b2fb402e1726a57f6d2b0cd6091ced6aa5 \
                    size    185203
github.tarball_from archive

depends_lib-append  port:ocaml-angstrom \
                    port:ocaml-bigstringaf \
                    port:ocaml-faraday \
                    port:ocaml-result

ocaml.build_type    dune

subport ${name}-lwt-unix {
    description     Lwt support for http/af

    depends_lib     port:ocaml-faraday-lwt-unix \
                    port:ocaml-httpaf \
                    port:ocaml-lwt
}
