# $Id: Portfile 98499 2012-10-07 11:42:35Z mww@macports.org $

PortSystem 1.0
PortGroup ocaml 1.0

name                ocaml-cryptokit
version             1.6
revision            2
categories          devel ml security
platforms           darwin
license             LGPL-2
maintainers         mww openmaintainer
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
master_sites        https://forge.ocamlcore.org/frs/download.php/891/
checksums           rmd160  83daed01f9407292e2c3c5294c076b61685987f4 \
                    sha256  c58cb6ee1efa996bb227d64b378e80824637f875e914ad38833d610b7f992422

distname            cryptokit-${version}

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://forge.ocamlcore.org/frs/?group_id=133
livecheck.regex     {>cryptokit-(.*)\.tar\.gz}

