# -*- 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.2
revision            4
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  9a194bc284756443352d1b2c34cf6d2782df36fa \
                    sha256  5659bd8ba7e1417edd40f7b7781a8ea26939ab6aa513409023835f04875921c5 \
                    size    19818

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\"
