# -*- 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                stog
version             1.1.0
revision            1
categories          www ocaml
license             GPL-3
maintainers         nomaintainer
description         Static web site compiler, able to handle blog posts as well as regular pages
long_description    {*}${description}

homepage            https://www.good-eris.net/stog/
master_sites        ${homepage}releases/

use_bzip2           yes

checksums           rmd160  2e5bcd1676dfefc1696bb1d9f313b32dcf9ab8a1 \
                    sha256  85ab39a8f456c0fb2cdf5572f3f7a341c7323407e43550ae096a0d844a481f8a \
                    size    2679386

depends_lib-append  port:ocaml-dune-build-info \
                    port:ocaml-dune-site \
                    port:ocaml-fmt \
                    port:ocaml-higlo \
                    port:ocaml-logs \
                    port:ocaml-lwt \
                    port:ocaml-lwt_ppx \
                    port:ocaml-menhir \
                    port:ocaml-ocf \
                    port:ocaml-ocf_ppx \
                    port:ocaml-ppx_blob \
                    port:ocaml-ptime \
                    port:ocaml-uri \
                    port:ocaml-uutf \
                    port:ocaml-xtmpl \
                    port:ocaml-xtmpl_ppx

ocaml.build_type    dune

livecheck.type      regex
livecheck.url       ${homepage}install.html
livecheck.regex     stog-(\[0-9.\]+)${extract.suffix}
