# $Id: Portfile,v 1.3 2004/04/03 12:43:09 toby Exp $

PortSystem 1.0
name             mpg321
version          0.2.10
revision         1
categories       audio
maintainers      toby@opendarwin.org
description      Free replacement for mpg123
long_description \
    mpg321 is a Free replacement for mpg123, a very popular command-line \
    mp3 player. mpg123 is used for frontends, as an mp3 player and as an \
    mp3 to wave file decoder (primarily for use with CD-recording \
    software.) In all of these capacities, mpg321 can be used as a \
    drop-in replacement for mpg123.
homepage         http://mpg321.sourceforge.net/
platforms        darwin
master_sites     sourceforge
checksums        md5 bb403b35c2d25655d55f0f616b8f47bb
patchfiles       patch-mpg321.c
depends_lib      lib:libmad.0:libmad \
                 lib:libid3tag.0:libid3tag \
                 lib:libao.2:libao
configure.env    CFLAGS="-I${prefix}/include" \
                 LDFLAGS="-L${prefix}/lib"
configure.args   --disable-mpg123-symlink
