# $Id: Portfile,v 1.12 2004/11/03 00:12:51 blb Exp $

PortSystem 1.0
name		normalize
version		0.7.6
revision	2
categories	audio
maintainers	darwinports@opendarwin.org
description	A tool to normalize WAV and MP3 audio
long_description	\
	Normalize is an overly complicated tool for adjusting the volume of \
	wave files to a standard volume level.  This is useful for things \
	like creating mp3 mixes, where different recording levels on \
	different albums can cause the volume to vary greatly from song to \
	song.
homepage	http://www1.cs.columbia.edu/~cvaill/normalize/
platforms	darwin
master_sites	${homepage} \
		opendarwin
checksums	md5 02186731e7cf68f1430b76fe0c592926
depends_lib	\
	lib:libexpat.0:expat lib:libintl.3:gettext lib:libiconv.2:libiconv
configure.env \
	LDFLAGS="-L${prefix}/lib" \
	CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
configure.args	--without-mad --without-audiofile

variant mad {
	depends_lib-append	lib:libmad:libmad
	configure.args-append	--with-mad
}
variant audiofile {
	depends_lib-append	lib:libaudiofile.0:audiofile
	configure.args-append	--with-audiofile
}
