# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name http-replicator version 3.0 revision 1 categories net www license GPL-2+ platforms darwin supported_archs noarch 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/ depends_run port:python27 master_sites ${homepage} distname ${name}_${version} worksrcdir ${name}-${version} checksums md5 7d8d69175a5dc3d470273b1e508a27f3 configure { reinplace -W ${worksrcpath} "s| /usr/bin/python|${prefix}/bin/python2.7|" \ http-replicator \ 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 xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name} }