Portfile

# $Id: Portfile 22236 2007-02-23 05:34:49Z markd@macports.org $

PortSystem 1.0

name flac
version 1.1.4
categories audio
maintainers nomaintainer@macports.org
description Free Lossless Audio Codec
long_description FLAC stands for Free Lossless Audio Codec. \
Grossly oversimplified,FLAC is similar to MP3, but lossless, \
meaning that audio iscompressed in FLAC without throwing away \
any information. This issimilar to how Zip works, except with \
FLAC you will get much better compression because it is \
designed specifically for audio, and you canplay back \
compressed FLAC files in your favorite player (or your car or \
home stereo) just like you would an MP3 file.
platforms darwin
master_sites sourceforge
checksums md5 3958cbd5b6ed8c14966792538e44223b \
sha1 b4ce77a96d7ec89a1555b016d90ad4899e613141 \
rmd160 7e323ccebbbe453b1dee056d0223f56db0818188
patchfiles patch-ltmain.sh patch-nasm.h

depends_lib port:libogg port:id3lib

configure.args --mandir=${prefix}/share/man --disable-xmms-plugin

build.args OBJ_FORMAT=macho

variant xmms_plugin {
configure.args-delete --disable-xmms-plugin
depends_lib-append port:xmms
}

test.run yes
test.target check

files