# $Id$ PortSystem 1.0 name cryptokit version 1.3 categories devel security maintainers avsm 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 d7de01d0702d16b3491c9e794ebb2cc3 \ sha1 aebb0b2ed7c89320006de63b73ab639051888a9c \ rmd160 bdf1ec365562b534b7995d0f2c3fc06ec203111f depends_lib bin:camlp4:ocaml use_configure no build.target all allopt doc set instdir ${destroot}${prefix}/lib/ocaml/site-lib destroot.args INSTALLDIR=${instdir}/cryptokit patchfiles patch-META patch-Makefile livecheck.type regex livecheck.url http://caml.inria.fr/distrib/bazar-ocaml/ livecheck.regex {>cryptokit-(.*)\.tar\.gz} pre-destroot { file mkdir ${instdir}/cryptokit/stublibs file mkdir ${instdir}/stublibs } post-destroot { system "ranlib ${instdir}/cryptokit/cryptokit.a" system "ranlib ${instdir}/cryptokit/libcryptokit.a" xinstall ${worksrcpath}/META ${instdir}/cryptokit/META system "mv ${instdir}/cryptokit/stublibs/*.so ${instdir}/stublibs/" xinstall -d -755 ${destroot}${prefix}/share/doc/${name} eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \ ${destroot}/${prefix}/share/doc/${name} }