[37216] trunk/dports/net/squid/Portfile

jmr at macports.org jmr at macports.org
Fri May 30 03:49:56 PDT 2008


Revision: 37216
          http://trac.macosforge.org/projects/macports/changeset/37216
Author:   jmr at macports.org
Date:     2008-05-30 03:49:55 -0700 (Fri, 30 May 2008)

Log Message:
-----------
squid: whitespace changes only

Modified Paths:
--------------
    trunk/dports/net/squid/Portfile

Modified: trunk/dports/net/squid/Portfile
===================================================================
--- trunk/dports/net/squid/Portfile	2008-05-30 10:47:51 UTC (rev 37215)
+++ trunk/dports/net/squid/Portfile	2008-05-30 10:49:55 UTC (rev 37216)
@@ -3,97 +3,97 @@
 
 PortSystem 1.0
 
-name			squid
-version			2.7.STABLE1
+name            squid
+version         2.7.STABLE1
 set branch      [join [lrange [split ${version} .] 0 1] .]
-categories		net
-platforms		darwin
-maintainers		jmr openmaintainer
-description		advanced proxy caching server for http, https, ftp, gopher
-long_description	Squid is a high-performance proxy caching server for \
-				web clients, supporting FTP, gopher, and HTTP data \
-				objects. Unlike traditional caching software, Squid \
-				handles all requests in a single, non-blocking, \
-				I/O-driven process. Squid keeps meta data and \
-				especially hot objects cached in RAM, caches DNS \
-				lookups, supports non-blocking DNS lookups, and \
-				implements negative caching of failed requests.
+categories      net
+platforms       darwin
+maintainers     jmr openmaintainer
+description     advanced proxy caching server for http, https, ftp, gopher
+long_description    Squid is a high-performance proxy caching server for \
+                web clients, supporting FTP, gopher, and HTTP data \
+                objects. Unlike traditional caching software, Squid \
+                handles all requests in a single, non-blocking, \
+                I/O-driven process. Squid keeps meta data and \
+                especially hot objects cached in RAM, caches DNS \
+                lookups, supports non-blocking DNS lookups, and \
+                implements negative caching of failed requests.
 
-homepage		http://www.squid-cache.org/
-master_sites	http://mirrors.24-7-solutions.net/pub/squid/squid-2/STABLE/ \
-				http://mirror.aarnet.edu.au/pub/squid/squid-2/STABLE/ \
-				http://mirrors.dotsrc.org/squid/squid-2/STABLE/ \
-				ftp://ftp.mirrorservice.org/sites/ftp.squid-cache.org/pub/squid-2/STABLE/ \
-				http://ftp.ring.gr.jp/archives/net/www/squid/squid-2/STABLE/ \
-				ftp://ftp.is.co.za/pub/squid/squid-2/STABLE/ \
-				ftp://ftp1.cl.squid-cache.org/pub/squid/squid-2/STABLE/ \
-				http://www.squid-cache.org/Versions/v2/${branch}/ \
-				ftp://ftp.squid-cache.org/pub/squid-2/STABLE/
+homepage        http://www.squid-cache.org/
+master_sites    http://mirrors.24-7-solutions.net/pub/squid/squid-2/STABLE/ \
+                http://mirror.aarnet.edu.au/pub/squid/squid-2/STABLE/ \
+                http://mirrors.dotsrc.org/squid/squid-2/STABLE/ \
+                ftp://ftp.mirrorservice.org/sites/ftp.squid-cache.org/pub/squid-2/STABLE/ \
+                http://ftp.ring.gr.jp/archives/net/www/squid/squid-2/STABLE/ \
+                ftp://ftp.is.co.za/pub/squid/squid-2/STABLE/ \
+                ftp://ftp1.cl.squid-cache.org/pub/squid/squid-2/STABLE/ \
+                http://www.squid-cache.org/Versions/v2/${branch}/ \
+                ftp://ftp.squid-cache.org/pub/squid-2/STABLE/
 
-checksums		md5 a264d99375dc54145b12594e488e1d89 \
-				sha1 94986e8bd0f3361554dde60681b173221af9a478 \
-				rmd160 103100baf246a22f2df80137c513fe9f3bf723af
+checksums       md5 a264d99375dc54145b12594e488e1d89 \
+                sha1 94986e8bd0f3361554dde60681b173221af9a478 \
+                rmd160 103100baf246a22f2df80137c513fe9f3bf723af
 
-use_bzip2		yes
-patchfiles		patch-cf.data.pre.diff
+use_bzip2       yes
+patchfiles      patch-cf.data.pre.diff
 
-depends_lib		port:openssl port:zlib
+depends_lib     port:openssl port:zlib
 
 platform darwin 9 {
-	patchfiles-append patch-configure.diff
+    patchfiles-append patch-configure.diff
 }
 
-configure.args	--with-pthreads \
-				--mandir=${prefix}/share/man \
-				--sysconfdir=${prefix}/etc/squid \
-				--datadir=${prefix}/share/squid \
-				--localstatedir=${prefix}/var/squid \
-				--with-openssl=${prefix} \
-				--enable-removal-policies
+configure.args  --with-pthreads \
+                --mandir=${prefix}/share/man \
+                --sysconfdir=${prefix}/etc/squid \
+                --datadir=${prefix}/share/squid \
+                --localstatedir=${prefix}/var/squid \
+                --with-openssl=${prefix} \
+                --enable-removal-policies
 
-build.args		DEFAULT_PID_FILE=${prefix}/var/run/squid/squid.pid
+build.args      DEFAULT_PID_FILE=${prefix}/var/run/squid/squid.pid
 use_parallel_build  yes
 
-startupitem.create		yes
-startupitem.name		Squid
+startupitem.create      yes
+startupitem.name        Squid
 startupitem.start \
-	"cd ${prefix}/var/squid" \
-	"if \[ ! -d \"${prefix}/var/squid/cache/00\" \]; then" \
-	"\tsu -fm root -c \"exec ${prefix}/sbin/squid -s -z\"" \
-	"fi" \
-	"su -fm root -c \"exec ${prefix}/sbin/squid -s\""
+    "cd ${prefix}/var/squid" \
+    "if \[ ! -d \"${prefix}/var/squid/cache/00\" \]; then" \
+    "\tsu -fm root -c \"exec ${prefix}/sbin/squid -s -z\"" \
+    "fi" \
+    "su -fm root -c \"exec ${prefix}/sbin/squid -s\""
 startupitem.stop \
-	"cd ${prefix}/var/squid" \
-	"su -fm root -c \"exec ${prefix}/sbin/squid -k shutdown\""
+    "cd ${prefix}/var/squid" \
+    "su -fm root -c \"exec ${prefix}/sbin/squid -k shutdown\""
 
 pre-destroot {
-	addgroup squid
-	set gid [existsgroup squid]
-	adduser squid gid=${gid} realname=Squid\ Proxy home=${prefix}/var/squid
+    addgroup squid
+    set gid [existsgroup squid]
+    adduser squid gid=${gid} realname=Squid\ Proxy home=${prefix}/var/squid
 }
-post-destroot	{
-	reinplace "s|/etc/squid|${prefix}/etc/squid|g" \
-		${destroot}${prefix}/share/man/man8/squid.8
-	xinstall -o squid -g squid -m 755 -d \
-		${destroot}${prefix}/var/run/squid ${destroot}${prefix}/var/squid \
-		${destroot}${prefix}/var/squid/cache ${destroot}${prefix}/var/squid/logs
-	file delete -force ${destroot}${prefix}/etc/squid/squid.conf \
-	                   ${destroot}${prefix}/etc/squid/mime.conf
+post-destroot   {
+    reinplace "s|/etc/squid|${prefix}/etc/squid|g" \
+        ${destroot}${prefix}/share/man/man8/squid.8
+    xinstall -o squid -g squid -m 755 -d \
+        ${destroot}${prefix}/var/run/squid ${destroot}${prefix}/var/squid \
+        ${destroot}${prefix}/var/squid/cache ${destroot}${prefix}/var/squid/logs
+    file delete -force ${destroot}${prefix}/etc/squid/squid.conf \
+                       ${destroot}${prefix}/etc/squid/mime.conf
 }
-destroot.keepdirs	${destroot}${prefix}/var/run/squid \
-				${destroot}${prefix}/var/squid/cache \
-				${destroot}${prefix}/var/squid/logs
+destroot.keepdirs   ${destroot}${prefix}/var/run/squid \
+                ${destroot}${prefix}/var/squid/cache \
+                ${destroot}${prefix}/var/squid/logs
 
 post-activate {
-	# Make sure initial conf files are present and setup correctly
-	foreach f { squid.conf mime.conf } {
-		if {![file exists ${prefix}/etc/squid/${f}]} {
-			file copy ${prefix}/etc/squid/${f}.default \
-				${prefix}/etc/squid/${f}
-		}
-	}
+    # Make sure initial conf files are present and setup correctly
+    foreach f { squid.conf mime.conf } {
+        if {![file exists ${prefix}/etc/squid/${f}]} {
+            file copy ${prefix}/etc/squid/${f}.default \
+                ${prefix}/etc/squid/${f}
+        }
+    }
 }
 
-livecheck.check	regex
-livecheck.url	http://www.squid-cache.org/Versions/v2/${branch}/
-livecheck.regex	squid-(${branch}\\.STABLE\[0-9\\.\]+)-RELEASENOTES
+livecheck.check regex
+livecheck.url   http://www.squid-cache.org/Versions/v2/${branch}/
+livecheck.regex squid-(${branch}\\.STABLE\[0-9\\.\]+)-RELEASENOTES

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080530/28d60c87/attachment-0001.htm 


More information about the macports-changes mailing list