[129705] trunk/dports/net/http-replicator/Portfile

larryv at macports.org larryv at macports.org
Thu Dec 18 15:37:26 PST 2014


Revision: 129705
          https://trac.macports.org/changeset/129705
Author:   larryv at macports.org
Date:     2014-12-18 15:37:26 -0800 (Thu, 18 Dec 2014)
Log Message:
-----------
http-replicator: Rearrange and reformat

Modified Paths:
--------------
    trunk/dports/net/http-replicator/Portfile

Modified: trunk/dports/net/http-replicator/Portfile
===================================================================
--- trunk/dports/net/http-replicator/Portfile	2014-12-18 23:24:22 UTC (rev 129704)
+++ trunk/dports/net/http-replicator/Portfile	2014-12-18 23:37:26 UTC (rev 129705)
@@ -1,38 +1,45 @@
+# -*- 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
+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.
+name                http-replicator
+version             3.0
+categories          net www
+platforms           darwin
+maintainers         mww
 
-homepage		http://gertjan.freezope.org/replicator/
-master_sites	${homepage}
-distname		${name}_${version}
-worksrcdir		${name}-${version}
-checksums		md5 7d8d69175a5dc3d470273b1e508a27f3
+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		bin:python:python24
+depends_run         bin:python:python24
 
-configure	{
-	reinplace "s| /usr/bin/python|/usr/bin/env python|g" ${worksrcpath}/http-replicator \
-		${worksrcpath}/http-replicator_maintenance
+master_sites        ${homepage}
+distname            ${name}_${version}
+worksrcdir          ${name}-${version}
+checksums           md5 7d8d69175a5dc3d470273b1e508a27f3
+
+configure {
+    reinplace -W ${worksrcpath} "s| /usr/bin/python|/usr/bin/env python|g" \
+            http-replicator \
+            http-replicator_maintenance
 }
 
-build			{}
+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
+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
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141218/47806ee6/attachment.html>


More information about the macports-changes mailing list