1 | # $Id: Portfile 79818 2011-06-26 23:12:46Z blb@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0.4 |
---|
5 | name py-bitstring |
---|
6 | version 2.2.0 |
---|
7 | categories-append devel |
---|
8 | license MIT |
---|
9 | maintainers blb openmaintainer |
---|
10 | description Module to simplify handling of binary data |
---|
11 | long_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 | |
---|
15 | platforms darwin |
---|
16 | |
---|
17 | homepage http://code.google.com/p/python-bitstring/ |
---|
18 | master_sites googlecode:python-bitstring |
---|
19 | distname bitstring-${version} |
---|
20 | use_zip yes |
---|
21 | |
---|
22 | checksums sha1 cd12c16b8d05a98b0e5a7dafc82dcb5891325812 \ |
---|
23 | rmd160 0ef2c6b67f5914a2524f1cd7644b40f8ba421729 |
---|
24 | |
---|
25 | post-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 | |
---|
35 | python.versions 26 27 31 32 |
---|
36 | python.default_version 27 |
---|
37 | |
---|