# $Id: Portfile,v 1.5 2006/01/07 14:16:50 mww Exp $

PortSystem 1.0

name		streamripper
version		1.61.17
categories	audio net
platforms	darwin
maintainers	cssdev@mac.com
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 d98c28ffe7e3a387ea508f95efeedc2d

configure.args	--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
}

