# -*- 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           ocaml 1.1

name                ocaml-mtime
version             2.1.0
revision            3
categories          ocaml devel
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             ISC
description         Monotonic wall-clock time for OCaml
long_description    Mtime has platform-independent support for monotonic wall-clock time \
                    in pure OCaml.
homepage            https://erratique.ch/software/mtime
master_sites        ${homepage}/releases/
use_bzip2           yes
extract.suffix      .tbz
distname            mtime-${version}
checksums           rmd160  9c4b89335d774dfeaafd9fdb8cfdd8bad60c3c23 \
                    sha256  097cb2802e3701ead9572e1b483d5a28c6e2f0a39449faaf9b44ad8a89834d88 \
                    size    15370

# https://github.com/dbuenzli/mtime/issues/51
# https://github.com/dbuenzli/mtime/pull/52
patchfiles          5d49c3a2cebf37ad3aa7be063690bca70c3e1545.patch

ocaml.build_type    topkg

livecheck.type      regex
livecheck.regex     logs-(\[0-9\.]+).tbz
