# $Id$

PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-safepass
version             1.2
revision            2
categories          devel ml security
platforms           darwin
license             LGPL-2.1
maintainers         mww openmaintainer
description         OCaml library for safe storage of user passwords
long_description    \
    OCaml-safepass is a library enabling the safe storage of user passwords, \
    for use in web applications. Passwords are salted and hashed using the \
    bcrypt algorithm.

homepage            http://ocaml-safepass.forge.ocamlcore.org/
master_sites        http://forge.ocamlcore.org/frs/download.php/1035/
checksums           rmd160  e83a0adebf306361d441fb8c1e403c9427779ca5 \
                    sha256  daebb86ad960e46610fdfb17894ee8164640d0467b6eb15752b0e5315d58d375

extract.suffix      .tgz

depends_lib         port:ocaml port:ocaml-findlib

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

use_oasis           yes
use_oasis_doc       yes

livecheck.type      regex
livecheck.url       http://forge.ocamlcore.org/frs/?group_id=302
livecheck.regex     ocaml-safepass-(\[0-9.\]+)${extract.suffix}