# -*- 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        tomclegg mp3cat 0.5
github.tarball_from archive
revision            0
categories          audio
license             GPL-2+
maintainers         nomaintainer

description         Read and write MP3 files
long_description    {*}${description}.

homepage            https://tomclegg.ca/mp3cat

checksums           rmd160  4d2a022b68995ae27f883b51d75322e347ec95da \
                    sha256  b1ec915c09c7e1c0ff48f54844db273505bc0157163bed7b2940792dca8ff951 \
                    size    15711

patchfiles          patch-Makefile.diff
patchfiles-append   implicit.patch

destroot {
    xinstall -m 755 -W ${worksrcpath} \
        ${name} \
        mp3log \
        mp3log-conf \
        mp3dirclean \
        mp3http \
        mp3stream-conf \
        ${destroot}${prefix}/bin/
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name}/
}
