# $Id: Portfile 103616 2013-03-03 11:22:26Z mww@macports.org $

PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-lacaml
version             7.0.7
categories          math devel ml
platforms           darwin
license             LGPL-2.1
maintainers         mww openmaintainer
description         OCaml interfaces to the BLAS- and LAPACK-library
long_description    ${description}
homepage            https://bitbucket.org/mmottl/lacaml/
master_sites        https://bitbucket.org/mmottl/lacaml/downloads/
checksums           rmd160  9ba5570c3c4b15445e1b89fe01b5f35f4da0c725 \
                    sha256  9dc8bad78b4189330379313c230c8a6bf34cbba831329e92406cf2b1a2390462

distname            lacaml-${version}

depends_lib         port:ocaml port:ocaml-findlib

use_oasis           yes
use_oasis_doc       yes

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

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     lacaml-(\[0-9.\]+)${extract.suffix}

