# $Id: Portfile,v 1.9 2005/07/10 14:11:55 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-openssl
version			0.6
revision		2
categories		python devel security
maintainers		mww@opendarwin.org
platforms		darwin freebsd
description		python wrapper around the OpenSSL library
long_description	This python module is a rather thin wrapper around (a \
				subset of) the OpenSSL library. With thin wrapper a lot of the \
				object methods do nothing more than calling a corresponding \
				function in the OpenSSL library.

homepage		http://pyopenssl.sourceforge.net/
master_sites	sourceforge:pyopenssl
distname		pyOpenSSL-${version}
checksums		md5 6200b71d3eb294a312d52c4825fc71c5

depends_lib-append	port:openssl

patch	{
	reinplace "s|/sw/|${prefix}/|g" ${worksrcpath}/setup.py
}

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