diff --git a/dports/python/py-workerpool/Portfile b/dports/python/py-workerpool/Portfile
index 0f765bc..8ca1a53 100644
a
|
b
|
|
2 | 2 | # $Id$ |
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | | PortGroup python24 1.0 |
| 5 | PortGroup python 1.0 |
6 | 6 | |
7 | 7 | name py-workerpool |
8 | 8 | version 0.9.2 |
9 | 9 | categories python |
10 | 10 | maintainers akitada |
| 11 | python.versions 24 25 26 27 |
| 12 | python.default_version 27 |
11 | 13 | description Module for distributing jobs to a pool of worker \ |
12 | 14 | threads. |
13 | 15 | long_description Performing tasks in many threads made fun! \ |
… |
… |
checksums md5 42904070f1a58f2a7b7276b22134375b \ |
34 | 36 | sha1 34da871db2615a474f8332e2aa33285a2d808bb7 \ |
35 | 37 | rmd160 e7565d81be215d0c728ef7306efa3ebea0fafebd |
36 | 38 | |
37 | | depends_build port:py24-distribute |
| 39 | if {$subport != $name} { |
| 40 | depends_build-append port:py${python.version}-distribute |
| 41 | } |
38 | 42 | |
39 | 43 | post-destroot { |
40 | | xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \ |
41 | | ${destroot}${prefix}/share/doc/${name} |
| 44 | xinstall -W ${worksrcpath} -m 644 CHANGES LICENSE README \ |
| 45 | ${destroot}${prefix}/share/doc/${subport} |
42 | 46 | eval copy [glob ${worksrcpath}/samples/*] \ |
43 | | ${destroot}${prefix}/share/doc/${name}/examples |
| 47 | ${destroot}${prefix}/share/doc/${subport}/examples |
44 | 48 | } |
45 | 49 | |