# $Id: Portfile,v 1.4 2005/04/21 15:58:11 jberry Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-ezpycrypto
version			0.1.1
revision		1
categories		python security
platforms		darwin
maintainers		mww@opendarwin.org
description		high-level encryption python module building upon py-crypto
long_description	ezPyCrypto is a high-level encryption library for \
				Python that makes your job of securing data easy and \
				effortless. As a reaction to some other crypto \
				libraries, which can be painfully complex to \
				understand and use, ezPyCrypto has been designed from \
				the ground up for absolute ease of use, without \
				compromising security.

homepage		http://www.freenet.org.nz/ezPyCrypto/
master_sites	${homepage}
distname		ezPyCrypto-${version}
checksums		md5 6e30f9e6a16aca849431568e1a5b0ee1

depends_lib-append	port:py-crypto

test.run		yes
test.cmd		${python.bin}
test.env		PYTHONPATH=${worksrcpath}/build/lib
test.target		example?.py

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL README \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} example1.py example2.py example3.py \
		example4.py example5.py example6.py example7.py example8.py \
		${destroot}${prefix}/share/doc/${name}/examples
}
