# $Id: Portfile 114594 2013-12-11 09:47:05Z mww@macports.org $

PortSystem          1.0
PortGroup           ocaml 1.0
PortGroup           github 1.0

github.setup        ocsigen lwt 2.4.4

name                ocaml-lwt
categories          devel ml
maintainers         mww openmaintainer
license             {LGPL-2.1 OpenSSLException}
description         Cooperative threading library for OCaml
long_description    LWT is a lightweight thread library for OCaml to implement \
                    co-operative concurrency.
homepage            http://ocsigen.org/lwt
platforms           darwin

depends_lib         port:ocaml port:ocaml-findlib port:ocaml-ssl \
                    port:ocaml-react port:ocaml-text port:libev

checksums           rmd160  b99199b139f2556521109cf3012e46b92edbc5f4 \
                    sha256  b3d0db316d3a1c864dd4dd8dd0332b06cde9baed1dbf9f3f5d829fb95796c389

use_oasis           yes
# FIXME: this requires wikidoc at build-time
#use_oasis_doc       yes

configure.args-append "--enable-react --enable-ssl --enable-text --destdir ${destroot}"

