# -*- 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-batteries
github.setup        ocaml-batteries-team batteries-included 3.3.0 v
categories          ocaml devel
maintainers         {landonf @landonf} openmaintainer
license             LGPL-2.1
description         A new O'Caml standard library
long_description    OCaml Batteries included (or simply Batteries) is a \
                    community-driven effort to standardize on an consistent, \
                    documented, and comprehensive development platform for the \
                    OCaml programming language.
homepage            http://batteries.forge.ocamlcore.org/
platforms           darwin

github.tarball_from     archive

checksums           rmd160  e2cf343628cdf28456105f8bb32be932721f6844 \
                    sha256  40d18485911e343500a5636bbf1d84e2ee32f924fe87e5fd13a37641a4d8f226 \
                    size    821749


depends_lib         port:ocaml-num
ocaml.build_type    oasis

build.type          gnu

post-patch {
    reinplace  "s|\"\$make\"|\"${build.cmd}\"|g" setup.ml
}

github.livecheck.regex {([0-9.]+)}
