# $Id: Portfile,v 1.3 2005/01/13 19:18:13 mww Exp $

PortSystem 1.0

name			fauxident
version			1.2.1
categories		net
maintainers		mww@opendarwin.org
platforms		darwin freebsd
description		small extremely naive ident server
long_description	fauxident is a small Python script that will act as an \
				extremely naive ident server, answering all ident requests \
				with a consistent response -- either an ERROR or a USERID \
				response.

homepage		http://www.alcyone.com/software/fauxident/
master_sites	${homepage}
checksums		md5 fc968c08f18ed23df5b3a20399c29be2

depends_lib		bin:python:python24

configure	{
	reinplace "s|/usr/local/bin/python|/usr/bin/env python|g" \
		${worksrcpath}/fauxident.py
}

build		{}

destroot	{
	file mkdir ${destroot}${prefix}/bin
	file mkdir ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/fauxident.py ${destroot}${prefix}/bin/
	file copy ${worksrcpath}/COPYING ${worksrcpath}/README \
		${worksrcpath}/doc/index.html ${worksrcpath}/doc/home \
		${destroot}${prefix}/share/doc/${name}
}
