# $Id$ PortSystem 1.0 name http-replicator version 3.0 categories net www platforms darwin maintainers mww description replicating HTTP proxy server long_description Replicator is a replicating HTTP proxy server. Files that \ are downloaded through the proxy are transparently stored in a \ private cache, so an exact copy of accessed remote files is \ created on the local machine. It is, in essence, a general \ purpose proxy server, but especially suited for maintaining a \ cache of MacPorts, FreeBSD or Fink packages. homepage http://gertjan.freezope.org/replicator/ master_sites ${homepage} distname ${name}_${version} worksrcdir ${name}-${version} checksums md5 7d8d69175a5dc3d470273b1e508a27f3 depends_run bin:python:python24 configure { reinplace "s| /usr/bin/python|/usr/bin/env python|g" ${worksrcpath}/http-replicator \ ${worksrcpath}/http-replicator_maintenance } build {} destroot { xinstall -m 755 -W ${worksrcpath} http-replicator \ http-replicator_maintenance ${destroot}${prefix}/sbin xinstall -m 644 -W ${worksrcpath} http-replicator.1 \ http-replicator_maintenance.1 ${destroot}${prefix}/share/man/man1 }