Ticket #46273: http-replicator.diff
File http-replicator.diff, 1.2 KB (added by jmroot (Joshua Root), 10 years ago) |
---|
-
Portfile
4 4 5 5 name http-replicator 6 6 version 3.0 7 revision 1 7 8 categories net www 9 license GPL-2+ 8 10 platforms darwin 11 supported_archs noarch 9 12 maintainers mww 10 13 description replicating HTTP proxy server 11 14 long_description Replicator is a replicating HTTP proxy server. Files that \ … … 21 24 worksrcdir ${name}-${version} 22 25 checksums md5 7d8d69175a5dc3d470273b1e508a27f3 23 26 24 depends_run bin:python:python2427 depends_run port:python27 25 28 26 29 configure { 27 reinplace "s| /usr/bin/python| /usr/bin/env python|g" ${worksrcpath}/http-replicator \30 reinplace "s| /usr/bin/python|${prefix}/bin/python2.7|" ${worksrcpath}/http-replicator \ 28 31 ${worksrcpath}/http-replicator_maintenance 29 32 } 30 33 … … 35 38 http-replicator_maintenance ${destroot}${prefix}/sbin 36 39 xinstall -m 644 -W ${worksrcpath} http-replicator.1 \ 37 40 http-replicator_maintenance.1 ${destroot}${prefix}/share/man/man1 41 xinstall -d ${destroot}${prefix}/share/doc/${name} 42 xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name} 38 43 }