# -*- 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
PortGroup           openssl 1.0

name                ocaml-async_ssl
github.setup        janestreet async_ssl 0.16.1 v
revision            3
categories          ocaml devel
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MIT
description         Async-pipe-based interface with OpenSSL
long_description    ${description}

checksums           rmd160  e7c3f15cb2251e71959d14b5d8fde7f0b5a8359d \
                    sha256  6bf314163d900c7346c31814465e9527aefec3c740f4bb7874a14a4f264961e6 \
                    size    46551
github.tarball_from archive

# https://github.com/janestreet/async_ssl/issues/42
patchfiles          patch-flags.diff

depends_build-append \
                    path:bin/pkg-config:pkgconfig

depends_lib-append  port:ocaml-async \
                    port:ocaml-core \
                    port:ocaml-ctypes \
                    port:ocaml-ctypes-foreign \
                    port:ocaml-dune-configurator \
                    port:ocaml-ppx_jane \
                    port:ocaml-ppx_optcomp \
                    port:ocaml-stdio

ocaml.build_type    dune
