# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name				py25-construct
version				2.00
categories			python
platforms			darwin
maintainers			dckd.nl:macports
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
distname			construct-${version}-distro
checksums			md5 ac374c2fdf6a9351468ad8c149584cf3 \
                    sha1 ff1e2f7b90f994f037ac22e490a881bc96e47d30
use_zip				yes

worksrcdir			construct

# nothing to build
build				{}

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/lib/python2.5/site-packages
    file copy ${workpath}/construct ${destroot}${prefix}/lib/python2.5/site-packages
}
