# $Id: Portfile,v 1.3 2004/02/08 13:24:55 mww Exp $ PortSystem 1.0 name py-constraint version 0.2.3 categories python platforms darwin maintainers mww@opendarwin.org 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 17fd01667356cf4d9298c46ed6f88a4f depends_lib bin:python:python use_configure no build.cmd python setup.py build.target build destroot.cmd python setup.py destroot.destdir --prefix=${destroot}${prefix} post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 -W ${worksrcpath} doc/CONTRIBUTORS README \ doc/documentation.html doc/documentation.xml COPYING \ 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 }