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

PortSystem 1.0

name			pop3proxy
version			1.3.0-beta3
categories		mail
platforms		darwin
maintainers		nomaintainer
description		application level gateway for the POP3 protocol
long_description	pop3.proxy is an application level gateway for the POP3 \
				protocol. Unlike generic TCP proxys (like tcpproxy) it looks \
				into the data stream watching that client and server fullfill \
				the protocol specification. pop3.proxy is based on RFC 1939.

homepage		http://quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/Pop3Proxy
master_sites	http://quietsche-entchen.de/cgi-bin/wiki.cgi/download/
checksums		md5 56cc718203b4e8dd6cca81dd91e3619a
patchfiles		patch-main.c patch-pop3.c patch-clamav.c patch-makefile

use_configure	no

destroot.destdir	prefix=${destroot}${prefix}

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} rfc1939.txt README LICENSE \
		${destroot}${prefix}/share/doc/${name}
}
