# $Id: Portfile,v 1.1 2004/06/22 04:56:19 pguyot Exp $

PortSystem          1.0
name                cryptokit
version             1.2
categories          devel security
maintainers         anil@recoil.org
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://caml.inria.fr/distrib/bazar-ocaml/
checksums           md5 0249135953f10c1515e88985b45ee4c9
depends_lib         bin:camlp4:ocaml
use_configure       no
build.target        all allopt

set instdir         ${destroot}${prefix}/lib/ocaml/
destroot.args       INSTALLDIR=${instdir}
pre-destroot {
        file mkdir ${instdir}
}
post-destroot {
        system "ranlib ${instdir}/cryptokit.a"
        system "ranlib ${instdir}/libcryptokit.a"
}
