# $Id: Portfile 83751 2011-09-10 16:39:04Z jmr@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-managesieve
version			0.4
revision		1
categories		python mail
platforms		darwin freebsd
maintainers		gboyce
description		Protocol for remotely managing Sieve scripts
long_description	A Protocol for remotely managing Sieve Scripts. A \
				MANGAGESIEVE client library for remotely managing \
				Sieve scripts, including an interactive sieveshell.

homepage		http://python-managesieve.origo.ethz.ch
master_sites		http://download.origo.ethz.ch/python-managesieve/833/
distname		managesieve-${version}
depends_build		port:py24-distribute
use_bzip2               yes
checksums		md5 add9cd4b54d51e18af99e79a0da26f8e	\
			sha1 33c255058b57dfab62557255c5bf2321b700d1ff

patchfiles		ez_setup.patch

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} draft-martin-managesieve-07.txt \
		HISTORY README TODO ${destroot}${prefix}/share/doc/${name}
}
