# $Id: Portfile,v 1.3 2004/04/21 17:45:31 mww Exp $

PortSystem 1.0
PortGroup python 1.0

name		py-crypto
version		1.9a6
categories	python
platforms	darwin freebsd
maintainers	mww@opendarwin.org
description	collection of cryptographic algorithms and protocols for python
long_description	collection of cryptographic algorithms and protocols, \
			implemented for use from python. Among are MD2, MD4, \
			RIPEMD, AES, ARC2, Blowfish, CAST, DES, Triple-DES, \
			IDEA, RC5, ARC4, simple XOR, RSA, DSA, ElGamal, qNEW.

homepage	http://www.amk.ca/python/code/crypto.html
master_sites	http://www.amk.ca/files/python/crypto/
distname	pycrypto-${version}
checksums	md5 cdcebdfd63e74754f57b9e9b0db4ea20

test.run	yes
test.cmd	${python.bin} test.py
test.target

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog LICENSE README TODO \
		${destroot}${prefix}/share/doc/${name}
}
