# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 PortGroup python24 1.0 name py-construct version 2.00 categories python platforms darwin maintainers macfreek.nl:software openmaintainer description python module for parsing and building binary or textual data structures long_description Construct is a python library for parsing and building of data structures \ (binary or textual). It is based on the concept of defining data \ structures in a declarative manner, rather than procedural code: more \ complex constructs are composed of a hierarchy of simpler ones. homepage http://construct.wikispaces.com/ master_sites sourceforge:pyconstruct # we download the 2.00-py24 "backport" version, since that is backward compatible in # Python 2.4 (and it works fine with Python 2.5 too) distname construct-${version}-distro-py24b checksums md5 783c5584a8ea2b7fb7eeada564687aaa use_zip yes worksrcdir construct # nothing to build build {} destroot { xinstall -m 755 -d ${destroot}${prefix}/lib/python2.4/site-packages file copy ${workpath}/construct ${destroot}${prefix}/lib/python2.4/site-packages }