# -*- 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        yallop ocaml-ctypes 0.24.0
revision            0

categories          ocaml devel
maintainers         {landonf @landonf} openmaintainer
license             MIT
description         Bind to C libraries using pure OCaml
long_description    ctypes is a combinator library for binding to C \
                    libraries using pure OCaml.

github.tarball_from archive
distname            ${version}
worksrcdir          ${name}-${version}

checksums           rmd160  e18fee842be34343f7453f7fccaafab54b41843e \
                    sha256  249c5604c8554659761a7282db4ad200aa8c0fdc408cdb53102bd70feeb51955 \
                    size    200058

depends_build-append \
                    port:ocaml-dune-configurator
depends_lib-append  port:ocaml-integers

depends_test-append port:ocaml-ounit2 \
                    port:pkgconfig

ocaml.build_type    dune

test.run            yes
