# $Id: Portfile 116628 2014-01-31 16:19:19Z mww@macports.org $

PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-ctypes
version             0.2.2
categories          devel ml
platforms           darwin
license             BSD
maintainers         mww openmaintainer
description         Library for binding to C libraries using pure OCaml
long_description    ${description}
homepage            https://github.com/ocamllabs/ocaml-ctypes
master_sites        https://codeload.github.com/ocamllabs/ocaml-ctypes/tar.gz/
distfiles           ocaml-ctypes-${version}
checksums           rmd160  97b380a84d1043ff4c1fb62ac63313d63dbfd3a6 \
                    sha256  1325c9ade812679e444b54b3e3faf79c1239254947a81fe48ab342043073eae2

depends_build       port:pkgconfig
depends_lib         port:ocaml \
                    port:ocaml-findlib \
                    port:libffi

worksrcdir          ocaml-ctypes-ocaml-ctypes-0.2.2
use_configure       no
destroot.destdir    OCAMLFIND=${ocamlfind_wrapper}

