# $Id: Portfile,v 1.11 2004/11/29 18:38:46 toby Exp $

PortSystem 1.0
name		icecast
version		1.3.12
revision	1
categories	audio net
maintainers	darwinports@opendarwin.org
description	A streaming mp3 audio server
long_description	\
    Icecast is a streaming mp3 audio server. Icecast provides nearly all \
    the functionality of the Shoutcast server. It will accept encoding \
    streams from encoders like winamp, shout and ices. It can also add \
    itself to a directory server such as our own icecast.linuxpower.org \
    or Nullsoft's yp.shoutcast.com.
homepage	http://www.icecast.org/
platforms	darwin
master_sites	http://downloads.us.xiph.org/releases/icecast/
checksums	md5 69ba36d30722884ea538b70628f1de80
configure.args	\
    --with-crypt --without-python 

variant darwin {
	patchfiles	apple-patches
}
#variant python {
#	depends_build   bin:python:python
#	configure.env \
#		LDFLAGS="-L${prefix}/lib" \
#		CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
#	configure.args-append	--with-python
#	contents-append
#	include contents-python
#}
