Files
Paul GuyotandRenee Otten c57bd37148 ocaml-doc: update to 5.4
Update from 4.08 to 5.4, switching to https master_sites and fixing
the livecheck (old caml.inria.fr/download.en.html was frozen at 4.07).

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 22:41:14 -04:00

36 lines
1.1 KiB
Tcl

# -*- 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
name ocaml-doc
version 5.4
revision 0
license Permissive
platforms any
maintainers nomaintainer
categories lang ocaml
supported_archs noarch
description The Objective Caml reference manual
long_description ${description}
homepage https://ocaml.org
master_sites https://caml.inria.fr/pub/distrib/ocaml-${version}/
distname ocaml-${version}-refman-html
checksums rmd160 102365ec0ea01f21e4af896362d767beb507eac3 \
sha256 2ee64c79207ff072f25915d67ed697262ba961383a66200b553c71db462e4aff \
size 2353791
use_configure no
build {}
destroot {
xinstall -d ${destroot}${prefix}/share/doc
file copy ${workpath}/htmlman ${destroot}${prefix}/share/doc/${name}
}
livecheck.type regex
livecheck.url https://github.com/ocaml/ocaml/releases
livecheck.regex {releases/tag/(\d+\.\d+)\.\d}