# $Id: Portfile 55823 2009-08-19 23:39:33Z blb@macports.org $

PortSystem 1.0
name		mpg123
version		1.9.0
categories	audio
maintainers	gmx.at:astifter openmaintainer
description	fast mp3 player for linux and unix systems
long_description	\
	Mpg123 is a fast, free and portable MPEG audio player for Unix. It \
	supports MPEG 1.0/2.0 layers 1, 2 and 3. For full CD quality \
	playback (44 kHz, 16 bit, stereo) a Pentium, SPARCstation10, DEC \
	Alpha or similar CPU is required. Mono and/or reduced quality \
	playback (22 kHz or 11 kHz) is even possible on 486 CPUs. \
	\
	This version uses EsounD on a pure Darwin install and CoreAudio \
	on Mac OS X.

homepage	http://www.mpg123.de/
platforms	darwin
master_sites	http://www.mpg123.de/download/
use_bzip2	yes
checksums	md5 0ea1a5d45680c847a9594188f582d284

depends_lib	port:libtool

platform macosx {
    configure.args-append --with-audio=coreaudio
}

platform darwin powerpc {
    configure.args-append --with-cpu=altivec
}
