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

set modname         hively
name                lib${modname}
github.setup        TTK-qmmp qmmp-${modname} 1d261fe3c04d431c1b51e93a464477e3bbaaf57b
version             20260303
revision            0
categories          audio
license             GPL-3
maintainers         nomaintainer
description         Input plugin for qmmp to play ${modname} modules
long_description    {*}${description}
checksums           rmd160  a736bd877ae4a6be4943bb0f8e54697b41e178dd \
                    sha256  d79a2c7acee11ee5bddc07614b130371d0aa97efa621cb62884612a2a687e73c \
                    size    35272
github.tarball_from archive

worksrcdir          ${worksrcpath}/${name}

post-extract {
    copy ${filespath}/Makefile ${worksrcpath}/
}

destroot {
    copy ${worksrcpath}/${name}.dylib ${destroot}${prefix}/lib/
    copy ${worksrcpath}/hvl_replay.h ${destroot}${prefix}/include/
}
