# -*- 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                libmicrohttpd
version             1.0.2
revision            0
categories          www
license             LGPL
maintainers         {snc @nerdling} openmaintainer
description         Light HTTP/1.1 server library
long_description    GNU libmicrohttpd is a small C library that is \
                    supposed to make it easy to run an HTTP server as \
                    part of another application. GNU libmicrohttpd is \
                    free software and part of the GNU project.
homepage            https://www.gnu.org/software/libmicrohttpd/
master_sites        gnu
checksums           rmd160  5ac7c9de82b82c7b3f879a75ecf190231a892517 \
                    sha256  df324fcd0834175dab07483133902d9774a605bfa298025f69883288fd20a8c7 \
                    size    2198804

depends_lib         path:lib/pkgconfig/gnutls.pc:gnutls

test.run            yes
test.target         check

livecheck.type      regex
livecheck.url       https://ftp.gnu.org/gnu/libmicrohttpd/
livecheck.regex     "${name}-(\\d+\\.\\d+(\\.\\d+)?)"
