# -*- 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 name vorbisgain version 0.37 categories audio maintainers {ryandesign @ryandesign} openmaintainer license LGPL-2.1 homepage https://sjeng.org/vorbisgain.html master_sites https://sjeng.org/ftp/vorbis/ description corrects the volume of an Ogg Vorbis file to a \ predefined standardized loudness long_description VorbisGain ${description} by calculating the file's \ percieved sound level using the ReplayGain \ algorithm. VorbisGain then stores in the comments \ (tags) in the file a suggestion on how the volume \ should be changed during playback to get a uniform \ sound level. You then need to use an audio player \ that knows about and acts on that suggestion. checksums rmd160 01de9516a7571c2ecdb3e4645c6c8e7ba8ce80cc \ sha256 dd6db051cad972bcac25d47b4a9e40e217bb548a1f16328eddbb4e66613530ec \ size 208977 depends_lib port:libogg \ port:libvorbis post-extract { file attributes ${worksrcpath}/configure -permissions a+x # Convert DOS to UNIX line endings so we can patch. reinplace "s|\r||g" ${worksrcpath}/misc.c } patchfiles implicit.patch configure.args-append --mandir=${prefix}/share/man \ --enable-recursive post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 0644 ${worksrcpath}/README ${docdir} }