# -*- 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
description mp3 format validator
mp3_check helps to identify in explicit detail MP3s \
that do not correctly follow the MP3 format. It also \
looks for invalid frame headers, missing frames, etc., \
and generates useful statistics. This can be useful \
when building a high-quality mp3 archive...
homepage http://mp3check.sourceforge.net/
master_sites sourceforge:mp3check
checksums md5 d10e3d7d434af17cc036b752a816e492
reinplace "s| -Werror||" ${worksrcpath}/Makefile
configure.cflags-append -std=gnu89
if {[vercmp [macports_version] 2.5.99] >= 0} {
build.env CC=${configure.cc} \
"CFLAGS=${configure.cflags} ${configure.cc_archflags}"
build.env CC="${configure.cc}" \
CFLAGS="${configure.cflags} ${configure.cc_archflags}"
xinstall -m 755 ${worksrcpath}/mp3_check \
xinstall -d ${destroot}${prefix}/share/doc/mp3_check
foreach file {FOR_TESTING GOALS MILESTONE MILESTONE.INTRO MY_NOTES NOTES README THANKYOU TODO WISHLIST} {
xinstall -m 444 ${worksrcpath}/${file} ${destroot}${prefix}/share/doc/mp3_check