Ticket #16723: Portfile.2

File Portfile.2, 1.2 KB (added by blb@…, 13 years ago)

py-bitstring WIP

Line 
1# $Id: Portfile 79818 2011-06-26 23:12:46Z blb@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0.4
5name                py-bitstring
6version             2.2.0
7categories-append   devel
8license             MIT
9maintainers         blb openmaintainer
10description         Module to simplify handling of binary data
11long_description \
12   bitstring is a pure Python module that makes the creation, manipulation \
13   and analysis of binary data as simple and natural as possible.
14
15platforms           darwin
16
17homepage            http://code.google.com/p/python-bitstring/
18master_sites        googlecode:python-bitstring
19distname            bitstring-${version}
20use_zip             yes
21
22checksums           sha1    cd12c16b8d05a98b0e5a7dafc82dcb5891325812 \
23                    rmd160  0ef2c6b67f5914a2524f1cd7644b40f8ba421729
24
25post-destroot {
26   if {${name} != ${subport}} {
27   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
28   xinstall -m 644 -W ${worksrcpath} README.txt release_notes.txt \
29      ${destroot}${prefix}/share/doc/${subport}
30   xinstall -m 644 ${worksrcpath}/doc/bitstring_manual.pdf \
31      ${destroot}${prefix}/share/doc/${subport}
32   }
33}
34
35python.versions     26 27 31 32
36python.default_version   27
37