# $Id: Portfile,v 1.4 2006/07/16 01:19:42 landonf Exp $

PortSystem			1.0
PortGroup			python24 1.0
name				py-m2crypto
version				0.16
categories-append		crypto devel
maintainers			landonf@opendarwin.org
description			M2Crypto is a crypto and SSL toolkit for Python.
long_description		${description}

platforms			darwin

homepage			http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto
master_sites			http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/
distname			m2crypto-${version}

checksums			md5 6fc06583a2be56fc2a46872a0540d78e

depends_lib-append		bin:swig:swig lib:libssl:openssl

post-destroot {
	xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
	eval file copy [glob ${worksrcpath}/doc/*] \
		${destroot}/${prefix}/share/doc/${name}
}
