# $Id$

PortSystem 1.0
PortGroup python24 1.0

name			py-constraint
version			0.2.6
categories		python
platforms		darwin
maintainers		nomaintainer
description		python module for solving constraint satisfaction problems
long_description	The constraint package is a constraint satisfaction \
				problem solver written in 100% pure Python, using \
				constraint propagation algorithms. So far, facilities \
				are provided to work with finite domains only.
homepage		http://www.logilab.org/projects/constraint/
master_sites	ftp://ftp.logilab.org/pub/constraint/
distname		constraint-${version}
checksums		md5 bbff22e6177a56247e7fec079ee987f7

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} doc/CONTRIBUTORS README \
		doc/documentation.html doc/documentation.xml ChangeLog \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples conferences.py menza.py \
		menza2.py menza_brute_force.py money.py money2.py queens.perf \
		queens.png queens.py \
		${destroot}${prefix}/share/doc/${name}/examples
}