Ticket #12382: Portfile

File Portfile, 1.1 KB (added by macfreek (Freek Dijkstra), 17 years ago)

Portfile for py-construct

Line 
1# $Id: $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                            py-construct
7version                         2.00
8categories                      python
9platforms                       darwin
10maintainers                     software@macfreek.nl openmaintainer@macports.org
11description                     python module for parsing and building binary or textual data structures
12long_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
17homepage                        http://construct.wikispaces.com/
18master_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)
21distname                        construct-${version}-distro-py24b
22checksums                       md5 783c5584a8ea2b7fb7eeada564687aaa
23use_zip                         yes
24
25worksrcdir                      construct
26
27# nothing to build
28build                           {}
29
30destroot {
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}