# $Id: Portfile,v 1.2 2005/07/06 16:18:01 ssen Exp $
PortSystem	1.0

name		madflute
version		0.9
revision	0

description	Implementation of FLUTE - File Delivery over \
		Unidirectional Transport
long_description	\
	MAD-FLUTE is an implementation of FLUTE - File Delivery over \
	Unidirectional Transport (IETF draft). FLUTE is a protocol \
	for the unidirectional delivery of files over the Internet, \
	which is \ particularly suited to multicast networks. FLUTE \
	builds on Asyncronous \ Layered Coding (ALC), the base \
	protocol designed for massively \ scalable multicast \
	distribution (RFC 3450).


homepage	http://www.atm.tut.fi/mad/
categories	net
maintainers	darwinports@opendarwin.org
platforms	darwin

distname	mad_fcl_v${version}_src
master_sites	http://www.atm.tut.fi/mad/download/
checksums	md5 9d593269120fbabfaf190461eae7df00

patchfiles	alclib-Makefile.diff   alclib-alc_tx.c.diff   \
		alclib-defines.h.diff	sdplib-Makefile.diff	\
		nullfeclib-Makefile.diff  rsfeclib-Makefile.diff \
		rlclib-Makefile.diff	flute-Makefile.diff \
		Makefile.diff		flute-fdt.h.diff 	\
		flute-main.c.diff	flute-mad_zlib.c.diff

depends_build	lib:libexpat:expat lib:libz:zlib
configure	{ }
build.args	PREFIX=${prefix}

destroot	{
			xinstall -d -m 755 ${destroot}/${prefix}/bin
			xinstall -m 755 ${worksrcpath}/bin/flute \
				${destroot}/${prefix}/bin
		}
