# $Id: Portfile,v 1.1 2006/03/11 17:34:42 danchr Exp $

PortSystem 1.0
name		madplay
version		0.15.2b
categories	audio
maintainers	danchr@opendarwin.org
description	MPEG Audio Decoder
long_description	MAD is a high-quality MPEG audio decoder.  \
	It currently supports MPEG-1 as well as the \
	MPEG-2 extension to Lower Sampling Frequencies.  \
	All three audio layers (Layer I, Layer II, and Layer \
	III a.k.a. MP3) are fully implemented.
homepage	http://www.mars.org/home/rob/proj/mpeg/
platforms	darwin
master_sites	ftp://ftp.mars.org/pub/mpeg/
checksums	sha1 29105eb27c1416aa33c8d1ab3404a8e5f0aecd3f

patchfiles	patch-audio_carbon.c
configure.env	CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
configure.args	--mandir=${prefix}/share/man --infodir=${prefix}/share/info

depends_lib	lib:libid3tag:libid3tag lib:libesd:esound \
		lib:libaudiofile:audiofile lib:libintl:gettext \
		lib:libmad:libmad lib:libz:zlib
