# $Id: Portfile 88485 2012-01-03 11:01:15Z mww@macports.org $

PortSystem 1.0
PortGroup ocaml 1.0

name                cryptokit
version             1.5
revision            1
categories          devel ml security
maintainers         mww openmaintainer
license             LGPL-2
description         Objective Caml interface to cryptographic functions.
long_description    The Cryptokit library for Objective Caml provides a \
                    variety of cryptographic primitives that can be used to \
                    implement cryptographic protocols in security-sensitive \
                    applications.
homepage            http://pauillac.inria.fr/~xleroy/software.html
platforms           darwin
master_sites        http://forge.ocamlcore.org/frs/download.php/639/
checksums           md5     4393bf2b20f8e18eb732c078d582d5ec \
                    sha1    63e1ca4918186bcc7f5e7f6566c765261c4abef3 \
                    rmd160  7e1e179c3970ac8b0cdbac1ef18e9ea79de6526e
depends_lib         port:ocaml port:ocaml-findlib port:zlib

use_oasis           yes
use_oasis_doc       yes

configure.args-append "--override docdir ${destroot}${prefix}/share/doc"

livecheck.type      regex
livecheck.url       http://caml.inria.fr/distrib/bazar-ocaml/
livecheck.regex     {>cryptokit-(.*)\.tar\.gz}

