mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49 lines
1.5 KiB
Tcl
49 lines
1.5 KiB
Tcl
# -*- 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 mp3_check
|
|
version 1.98
|
|
revision 1
|
|
categories audio
|
|
license GPL-2
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
|
|
description mp3 format validator
|
|
long_description \
|
|
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 rmd160 d05203fdd1bc7079b6dfb71ed4f3b0ad074256b4 \
|
|
sha256 bd63a63789f808d0632ad9e9b9448b8bf24f258629ec9195663ecce5fe889461 \
|
|
size 83098
|
|
|
|
patch {
|
|
reinplace "s| -Werror||" ${worksrcpath}/Makefile
|
|
}
|
|
|
|
configure.cflags-append -std=gnu89
|
|
|
|
use_configure no
|
|
variant universal {}
|
|
build.env CC=${configure.cc} \
|
|
"CFLAGS=${configure.cflags} [get_canonical_archflags cc]"
|
|
|
|
destroot {
|
|
xinstall -m 755 ${worksrcpath}/mp3_check \
|
|
${destroot}${prefix}/bin
|
|
|
|
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
|
|
}
|
|
}
|