# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 		1.0

name	        aacgain	
version	        1.7
categories		audio
platforms		darwin
maintainers		cs.dartmouth.edu:tristan
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 de7a95488dac7c34c45896a4c0772709
patchfiles      patch-libfaad-common.h

depends_lib	port:mp4v2 port:faad2

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

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