# $Id: Portfile 30239 2007-10-23 01:55:09Z jmpp@macports.org $

PortSystem 1.0

name			fsp
version			2.8.1b24
categories		net
platforms		darwin
maintainers		nomaintainer
description		udp based alternate protocol for ftp, server and tools
long_description	FSP stands for File Service Protocol. It is a very \
				lightweight UDP based protocol for transferring files. FSP has \
				many benefits over FTP, mainly for running anonymous archives. \
				FSP protocol is valuable in all kinds of environments because \
				it is one of the only TCP/IP protocols that is not aggressive \
				about bandwidth, while still being sufficiently fault tolerant.

homepage		http://fsp.sourceforge.net/
master_sites	sourceforge
checksums		md5 19a80b22e43717175facfc26e25d902b
use_bzip2		yes

configure.args	--mandir=${prefix}/share/man

test.run		yes
test.target		check

post-destroot	{
	file rename ${destroot}${prefix}/bin/fspd ${destroot}${prefix}/sbin/fspd
	xinstall -m 644 ${worksrcpath}/fspd.conf \
		${destroot}${prefix}/etc/fspd.conf.sample
}
