# -*- 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.17 v
github.tarball_from archive
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  e8843ebd2436a00f1ca2f2a3f40ab7db5daf9b09 \
                    sha256  4fee9927e2d8bb0a302f0dd62f9ff1e075748fa9f5162c9481a7a58b41462b56 \
                    size    42322

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