# $Id: Portfile 87446 2011-11-22 04:23:37Z ryandesign@macports.org $

PortSystem 		1.0

name	        aacgain	
version	        1.8
categories		audio
platforms		darwin
maintainers		nomaintainer
description     AAC/MP3 normalisation tool
long_description \
	A modification of mp3gain to normalise the volume of \
	MP3 and AAC audio files.

homepage		http://altosdesign.com/aacgain/
master_sites    http://altosdesign.com/aacgain/ \
                freebsd
use_bzip2		yes

checksums       md5     61ce9e648fa1773adb3d4b3c84c6e4ca \
                sha1    331039c4231e4d85ae878795ce3095dd96dcbfdb \
                rmd160  8f97121f3797cde45f71839dbe14251b74365ccd

patchfiles      patch-libfaad-common.h

depends_lib     path:lib/libmp4v2.dylib:mp4v2 port:faad2

platform darwin {
	configure.cflags-append   "-DHAS_LRINTF"
}

livecheck.type  regex
livecheck.regex "Version (.+) is now available"
