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

github.setup        emikulic darkhttpd 1.16 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0

homepage            https://unix4lyfe.org/darkhttpd

description         When you need a web server in a hurry.

long_description    \
    {*}${description} ${name} is a simple and efficient web server written in \
    portable C.  It has a small memory footprint, and runs a single-threaded \
    event loop. It generates directory listings, supports HTTP GET & HEAD, \
    IPv6, and more. ${name} only serves static content - no CGI.

categories          www net
installs_libs       no
license             ISC
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  b710ac3c4ca0750fc2afa265e7dcde403ae18245 \
                    sha256  8bd61cb88aa0fa4a0c88b45837a0ac3584fcc310a918b2441032b1148b78f414 \
                    size    40934

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
