# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           ocaml 1.1

name                ocaml-cryptokit
set ck_version      1.13
github.setup        xavierleroy cryptokit [string map {. ""} $ck_version] release
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             $ck_version
epoch               1

categories          ocaml devel security
license             LGPL-2
maintainers         {landonf @landonf} openmaintainer
description         OCaml interface to cryptographic functions.
long_description    The Cryptokit library for OCaml provides a \
                    variety of cryptographic primitives that can be used to \
                    implement cryptographic protocols in security-sensitive \
                    applications.

checksums           rmd160  882ea0cc12086fb4aee50003c78b09d99fce450d \
                    sha256  8d43d072a3986af7464a6b23e2da12cb1e192eb68e0c387530afac50f6c5889e \
                    size 165774

patchfiles          setup-ml.diff

depends_lib         port:ocaml-zarith \
                    port:zlib

ocaml.build_type    oasis
oasis.build_docs    yes
