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

github.setup        blastbay verblib 362615009de136c1daf4acaddc5015e72370c6b4
github.tarball_from archive
version             20221025
revision            0

categories          audio devel
platforms           any
supported_archs     noarch
# Upstream offers a choice of public domain or MIT No Attribution.
license             public-domain
maintainers         {@herbygillot gmail.com:herby.gillot} openmaintainer

description         Single-header reverb library
long_description    Verblib is a portable C implementation of a Schroeder reverb based \
                    on Freeverb, supporting mono and stereo audio.

checksums           rmd160  2b008849a536fad253e8054dcb85dedc70a4da23 \
                    sha256  fa6cd98c84ba0e3e1a0508c894f73c5efba3beee23a50c2216e95366883d7de4 \
                    size    57375

use_configure       no
build {}

destroot {
    xinstall -d ${destroot}${prefix}/include
    xinstall -m 0644 -W ${worksrcpath} verblib.h \
        ${destroot}${prefix}/include

    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} README.md license.txt \
        ${destroot}${prefix}/share/doc/${name}
}
