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

# v1.9 is available in the mp3gain git repository but an official
# tarball for a Unix build is not available and upstream has been
# inactive since 2010 hence leaving the port at v1.8.

PortSystem          1.0

name                aacgain
epoch               1
version             1.8
revision            2
checksums           rmd160  8f97121f3797cde45f71839dbe14251b74365ccd \
                    sha256  2bb8e27aa8f8434a4861fdbc70adb9cb4b47e1dfe472910d62d6042cb80a2ee1 \
                    size    1188680

categories          audio
maintainers         nomaintainer
license             GPL-2+

description         AAC/MP3 normalisation tool
long_description    A modification of mp3gain to normalise the volume of \
                    MP3 and AAC audio files.

homepage            http://aacgain.altosdesign.com/
master_sites        ${homepage}alvarez \
                    freebsd
use_bzip2           yes

patchfiles          patch-libfaad-common.h.diff

configure.args      --without-x

platform darwin {
    configure.cflags-append -DHAS_LRINTF
}

compiler.cxx_standard   2003
configure.cxxflags-append -std=c++03

livecheck.type      none
