# $Id: Portfile 98900 2012-10-20 13:47:30Z mww@macports.org $

PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-ssl
version             0.4.6
revision            4
categories          devel ml
platforms           darwin
license             {LGPL-2.1 OpenSSLException}
maintainers         nomaintainer
description         SSL bindings for OCaml
long_description    SSL bindings for OCaml to use secure connections via the \
                    OpenSSL library.
homepage            http://savonet.sf.net
master_sites        sourceforge:project/savonet/ocaml-ssl/${version}

distname            ocaml-ssl-${version}

checksums           rmd160  9d2fe7275debb969693d6e679230ac05a1bbf3d6 \
                    sha256  1ff7fbc77bb5ec7b6bfdca045c6c7a51d4d98ed60a865f29e06dd91285ac9499

depends_lib         port:ocaml port:ocaml-findlib

configure.cc_archflags {}
configure.ld_archflags {}
configure.env-append OCAMLFIND=${ocamlfind_wrapper}

use_parallel_build  no

livecheck.type      regex
livecheck.url       http://sf.net/api/file/index/project-id/89802/rss?path=%2Focaml-ssl
livecheck.regex     {ocaml-ssl-(.*)\.tar\.gz}
