Portfile

# $Id: Portfile 20917 2006-12-10 19:59:56Z css@macports.org $

PortSystem 1.0

name streamripper
version 1.61.27
categories audio net
platforms darwin
maintainers css@macports.org
description separate tracks via Shoutcasts title-streaming
long_description Streamripper started as a way to separate \
tracks via Shoutcasts title-streaming feature. This has \
now been expanded into a much more generic feature, where \
part of the program only tries to hint at where one track \
starts and another ends, thus allowing a mp3 decoding \
engine to scan for a silent mark, which is used to find \
an exact track separation.

homepage http://streamripper.sourceforge.net/
master_sites ${homepage}/files/ sourceforge:${name}
checksums md5 d92a37bf23ee3f1bd5a9498d72c0562a \
sha1 bdbf0e301c3c783e1f13c2977508afd5076328ad

depends_lib port:libiconv \
port:libogg \
port:libvorbis

configure.args --with-ogg=${prefix} --with-vorbis=${prefix} \
--with-libiconv-prefix=${prefix} \
--mandir=${prefix}/share/man

pre-destroot {
file attributes ${worksrcpath}/install-sh -permissions +rx
}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README THANKS \
${destroot}${prefix}/share/doc/${name}
}

platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}