Skip to content

Commit

Permalink
ocaml-batteries: resurrect and update to 2.10.0
Browse files Browse the repository at this point in the history
See: abfee15
  • Loading branch information
landonf committed Sep 26, 2019
1 parent b1219ef commit 32130eb
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions ocaml/ocaml-batteries/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# -*- 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 2.10.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

livecheck.url ${github.homepage}/releases
livecheck.regex "releases/download/${github.tag_prefix}(\[^/]+)/"

checksums rmd160 093ec63f5e41c11da5df80ce121aa4145d330611 \
sha256 9cb4bd3bf3872509af43a9c61f741884503551f25b22cb9e2c73c55cee6c9861 \
size 785599


depends_lib port:ocaml-num
ocaml.build_type oasis

build.type gnu

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

0 comments on commit 32130eb

Please sign in to comment.