# $Id: Portfile,v 1.4 2005/02/22 14:41:51 mww Exp $

PortSystem 1.0

name			fsp
version			2.8.1b24
categories		net
platforms		darwin
maintainers		mww@opendarwin.org
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
}
