Ticket #16568: Portfile

File Portfile, 1.0 KB (added by macports@…, 16 years ago)
Line 
1PortSystem 1.0
2PortGroup python25 1.0
3
4name                            py25-construct
5version                         2.00
6categories                      python
7platforms                       darwin
8maintainers                     macports@dckd.nl
9description                     python module for parsing and building binary or textual data structures
10long_description        Construct is a python library for parsing and building of data structures \
11                                        (binary or textual). It is based on the concept of defining data \
12                                        structures in a declarative manner, rather than procedural code: more \
13                                        complex constructs are composed of a hierarchy of simpler ones.
14
15homepage                        http://construct.wikispaces.com/
16master_sites            sourceforge:pyconstruct
17distname                        construct-${version}-distro
18checksums                       md5 ac374c2fdf6a9351468ad8c149584cf3 \
19                    sha1 ff1e2f7b90f994f037ac22e490a881bc96e47d30
20use_zip                         yes
21
22worksrcdir                      construct
23
24# nothing to build
25build                           {}
26
27destroot {
28    xinstall -m 755 -d ${destroot}${prefix}/lib/python2.5/site-packages
29    file copy ${workpath}/construct ${destroot}${prefix}/lib/python2.5/site-packages
30}