# -*- 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           makefile 1.0

name                stagit
version             1.3
revision            0
license             MIT

categories          www
maintainers         {@sikmir disroot.org:sikmir} openmaintainer
description         static git page generator
long_description    {*}${description}

homepage            https://git.codemadness.org/${name}/

master_sites        https://codemadness.org/releases/${name}/

checksums           rmd160  c9a05df9d7215b539364cd411694697a08810335 \
                    sha256  a265be67d2c5639094643f16c81d817c626d7557ed7886c9310a1ba317237f8d \
                    size    19845

depends_lib-append  path:lib/pkgconfig/libgit2.pc:libgit2

makefile.override   CC PREFIX

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     href=\"stagit-(.*)\\.tar\\.gz\"
