# $Id: Portfile,v 1.3 2005/04/19 18:15:10 jberry Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-xmlsec
version			0.2.1
revision		1
categories		python security textproc
platforms		darwin
maintainers		mww@opendarwin.org
description		a set of Python bindings for the XML Security Library.
long_description	${description}

homepage		http://pyxmlsec.labs.libre-entreprise.org/
master_sites	http://labs.libre-entreprise.org/download.php/357/
distname		pyxmlsec-${version}
checksums		md5 615aac32eaa2abb0c9091832336fa82b
patchfiles		patch-setup.py

depends_lib-append	port:py-libxml2 \
				port:openssl \
				port:xmlsec

post-destroot	{
	file delete ${destroot}${prefix}/share/doc/${name}/examples
	file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/
	file copy ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${name}/
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
		PKG-INFO README TODO ${destroot}${prefix}/share/doc/${name}
}
