diff --git a/dports/net/http-replicator/Portfile b/dports/net/http-replicator/Portfile
index 2cfe711..f113db6 100644
a
|
b
|
PortSystem 1.0 |
5 | 5 | |
6 | 6 | name http-replicator |
7 | 7 | version 3.0 |
| 8 | revision 1 |
8 | 9 | categories net www |
9 | 10 | platforms darwin |
| 11 | license GPL-2+ |
10 | 12 | maintainers mww |
11 | 13 | |
12 | 14 | description replicating HTTP proxy server |
… |
… |
long_description Replicator is a replicating HTTP proxy server. \ |
20 | 22 | packages. |
21 | 23 | homepage http://gertjan.freezope.org/replicator/ |
22 | 24 | |
23 | | depends_run bin:python:python27 |
| 25 | depends_run port:python27 |
| 26 | supported_archs noarch |
24 | 27 | |
25 | 28 | master_sites ${homepage} |
26 | 29 | distname ${name}_${version} |
… |
… |
worksrcdir ${name}-${version} |
28 | 31 | checksums md5 7d8d69175a5dc3d470273b1e508a27f3 |
29 | 32 | |
30 | 33 | configure { |
31 | | reinplace -W ${worksrcpath} "s| /usr/bin/python|/usr/bin/env python|g" \ |
| 34 | reinplace -W ${worksrcpath} "s| /usr/bin/python|${prefix}/bin/python2.7|" \ |
32 | 35 | http-replicator \ |
33 | 36 | http-replicator_maintenance |
34 | 37 | } |
… |
… |
destroot { |
42 | 45 | xinstall -m 644 -W ${worksrcpath} \ |
43 | 46 | http-replicator.1 http-replicator_maintenance.1 \ |
44 | 47 | ${destroot}${prefix}/share/man/man1 |
| 48 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
| 49 | xinstall -m 644 ${worksrcpath}/README \ |
| 50 | ${destroot}${prefix}/share/doc/${name} |
45 | 51 | } |