# $Id: Portfile 30236 2007-10-22 23:15:10Z jmpp@macports.org $

PortSystem 1.0

name		smtpproxy
version		1.3.3
categories	mail
platforms	darwin
maintainers	nomaintainer
description	smtp.proxy is a proxy server for the SMTP protocol
long_description	smtp.proxy is a proxy server for the SMTP protocol. It \
			forwards traffic between a client and a server \
			watching that the client fullfills the protocol \
			specification. smtp.proxy needs either inetd or xinetd \
			to work.

homepage	http://quietsche-entchen.de/cgi-bin/wiki.cgi/software/smtp.proxy.yawk
master_sites	http://quietsche-entchen.de/cgi-bin/wiki.cgi/download/
checksums	md5 3dc32a5483543f0c3c1254785d746265
patchfiles	patch-acp.c.diff

use_configure	no

destroot	{
	xinstall -m 755 -s ${worksrcpath}/smtp.proxy ${destroot}${prefix}/sbin
	xinstall -m 644 ${worksrcpath}/smtp.proxy.1 \
		${destroot}${prefix}/share/man/man1
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} LICENSE README rfc821.txt \
		${destroot}${prefix}/share/doc/${name}
}
