# -*- 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

github.setup        inhabitedtype ocaml-dispatch 0.5.0
revision            2
categories          ocaml devel
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             BSD
description         Path-based dispatching for client- and server-side applications
long_description    {*}${description}
checksums           rmd160  7507e395fa790de5cc762b5ae4d4be5189b46e45 \
                    sha256  021a95f89c503d546d90a7f212b369b117e45eedd91f32b5e5fcd33eea23d243 \
                    size    7202
github.tarball_from archive

depends_lib-append  port:ocaml-result

ocaml.build_type    dune

subport ${name}-js {
    description     Path-based dispatch: js_of_ocaml-specific support

    depends_lib     port:ocaml-dispatch \
                    port:ocaml-js_of_ocaml-lwt
}
