1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | |
---|
6 | name py-construct |
---|
7 | version 2.00 |
---|
8 | categories python |
---|
9 | platforms darwin |
---|
10 | maintainers software@macfreek.nl openmaintainer@macports.org |
---|
11 | description python module for parsing and building binary or textual data structures |
---|
12 | long_description Construct is a python library for parsing and building of data structures \ |
---|
13 | (binary or textual). It is based on the concept of defining data \ |
---|
14 | structures in a declarative manner, rather than procedural code: more \ |
---|
15 | complex constructs are composed of a hierarchy of simpler ones. |
---|
16 | |
---|
17 | homepage http://construct.wikispaces.com/ |
---|
18 | master_sites sourceforge:pyconstruct |
---|
19 | # we download the 2.00-py24 "backport" version, since that is backward compatible in |
---|
20 | # Python 2.4 (and it works fine with Python 2.5 too) |
---|
21 | distname construct-${version}-distro-py24b |
---|
22 | checksums md5 783c5584a8ea2b7fb7eeada564687aaa |
---|
23 | use_zip yes |
---|
24 | |
---|
25 | worksrcdir construct |
---|
26 | |
---|
27 | # nothing to build |
---|
28 | build {} |
---|
29 | |
---|
30 | destroot { |
---|
31 | xinstall -m 755 -d ${destroot}${prefix}/lib/python2.4/site-packages |
---|
32 | file copy ${workpath}/construct ${destroot}${prefix}/lib/python2.4/site-packages |
---|
33 | } |
---|