a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name sox
version 12.18.2
categories audio
maintainers nomaintainer@macports.org
description SOund eXchange - universal sound sample translator
long_description \
SoX (also known as Sound eXchange) translates sound samples between \
different file formats, and optionally applies various sound \
effects. SoX is intended as the Swiss Army knife of sound processing \
tools. It doesn't do anything very well, but sooner or later it \
comes in very handy.
homepage http://sox.sourceforge.net/
platforms darwin
master_sites http://voxel.dl.sourceforge.net/sourceforge/sox/ sourceforge
checksums md5 ba25e512a6c824d6e56d76767a18af99
patchfiles patch-Makefile.in
configure.env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
configure.args --mandir=\\\${prefix}/share/man \
--disable-ogg-vorbis \
--disable-mad \
--disable-lame
build.env ${configure.env}
destroot.destdir prefix=${destroot}${prefix}
variant vorbis {
configure.args-delete --disable-ogg-vorbis
depends_lib-append port:libvorbis
}
variant mad {
configure.args-delete --disable-mad
depends_lib-append port:libmad
}
variant lame {
configure.args-delete --disable-lame
depends_lib-append port:lame
}