[77992] trunk/dports/www/yaws/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Apr 18 21:05:16 PDT 2011


Revision: 77992
          http://trac.macports.org/changeset/77992
Author:   ryandesign at macports.org
Date:     2011-04-18 21:05:16 -0700 (Mon, 18 Apr 2011)
Log Message:
-----------
yaws: whitespace changes only; see #29187

Modified Paths:
--------------
    trunk/dports/www/yaws/Portfile

Modified: trunk/dports/www/yaws/Portfile
===================================================================
--- trunk/dports/www/yaws/Portfile	2011-04-19 04:02:36 UTC (rev 77991)
+++ trunk/dports/www/yaws/Portfile	2011-04-19 04:05:16 UTC (rev 77992)
@@ -1,79 +1,79 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem			1.0
+PortSystem          1.0
 
-name				yaws
-version				1.89
-categories			www
-maintainers			googlemail.com:ciserlohn
-platforms			darwin
-description			Webserver for dynamic content written in Erlang
-long_description	Yaws is a high performance HTTP server for dynamic content \
-					written in Erlang. Pages can be dynamic with embedded erlang \
-					code. Yaws also features a built-in Wiki.
-homepage			http://yaws.hyber.org/
-master_sites		http://yaws.hyber.org/download/
+name                yaws
+version             1.89
+categories          www
+maintainers         googlemail.com:ciserlohn
+platforms           darwin
+description         Webserver for dynamic content written in Erlang
+long_description    Yaws is a high performance HTTP server for dynamic content \
+                    written in Erlang. Pages can be dynamic with embedded erlang \
+                    code. Yaws also features a built-in Wiki.
+homepage            http://yaws.hyber.org/
+master_sites        http://yaws.hyber.org/download/
 
-checksums			sha1    3f6cc88eb7f154f017f78f1ad07eff5521e7319c \
-					rmd160  9fc274a9ddc82cc83bceeaed133758ee71c2951e
+checksums           sha1    3f6cc88eb7f154f017f78f1ad07eff5521e7319c \
+                    rmd160  9fc274a9ddc82cc83bceeaed133758ee71c2951e
 
-depends_build		port:erlang
+depends_build       port:erlang
 
-depends_skip_archcheck	erlang
+depends_skip_archcheck  erlang
 
-extract.post_args	| tar -xf - --exclude \
-					"${name}-${version}/www/testdir/xx*xx.jpg"
+extract.post_args   | tar -xf - --exclude \
+                    "${name}-${version}/www/testdir/xx*xx.jpg"
 
-patchfiles			patch-configure.in \
-					patch-man-yaws.1 \
-					patch-man-yaws_api.5 \
-					patch-man-yaws.conf.5 \
-					patch-scripts-Install \
-					patch-scripts-Makefile \
-					patch-scripts-yaws.conf.template
+patchfiles          patch-configure.in \
+                    patch-man-yaws.1 \
+                    patch-man-yaws_api.5 \
+                    patch-man-yaws.conf.5 \
+                    patch-scripts-Install \
+                    patch-scripts-Makefile \
+                    patch-scripts-yaws.conf.template
 
 post-patch {
-	reinplace "s|__PREFIX|${prefix}|g" \
-					${worksrcpath}/man/yaws.1 \
-					${worksrcpath}/man/yaws.conf.5 \
-					${worksrcpath}/man/yaws_api.5 \
-					${worksrcpath}/scripts/yaws.conf.template
+    reinplace "s|__PREFIX|${prefix}|g" \
+                    ${worksrcpath}/man/yaws.1 \
+                    ${worksrcpath}/man/yaws.conf.5 \
+                    ${worksrcpath}/man/yaws_api.5 \
+                    ${worksrcpath}/scripts/yaws.conf.template
 }
 
-default_variants	+yapp
+default_variants    +yapp
 
-use_autoreconf		yes
+use_autoreconf      yes
 
-configure.args		--sysconfdir=${prefix}/etc \
-					--localstatedir=${prefix}/var
+configure.args      --sysconfdir=${prefix}/etc \
+                    --localstatedir=${prefix}/var
 
 configure.universal_args-delete --disable-dependency-tracking
 
 variant yapp description {Yapp application handler} {
-	post-build {
-		system "cd ${worksrcpath}/applications/yapp && make && make docs"
-	}
-	post-destroot {
-		system "cd ${worksrcpath}/applications/yapp && make install DESTDIR=${destroot}"
-	}
+    post-build {
+        system "cd ${worksrcpath}/applications/yapp && make && make docs"
+    }
+    post-destroot {
+        system "cd ${worksrcpath}/applications/yapp && make install DESTDIR=${destroot}"
+    }
 }
-					
+
 post-destroot {
-	xinstall -d "${destroot}${prefix}/var/log/yaws/"
-	system "touch ${destroot}${prefix}/var/log/yaws/.turd"
-	file rename "${destroot}${prefix}/etc/yaws/yaws.conf" "${destroot}${prefix}/etc/yaws/yaws.conf.template"
+    xinstall -d "${destroot}${prefix}/var/log/yaws/"
+    system "touch ${destroot}${prefix}/var/log/yaws/.turd"
+    file rename "${destroot}${prefix}/etc/yaws/yaws.conf" "${destroot}${prefix}/etc/yaws/yaws.conf.template"
 }
 
 notes "\
 Copy and customize ${prefix}/etc/yaws/yaws.conf.template to ${prefix}/etc/yaws/yaws.conf\
 "
 
-startupitem.create	yes
-startupitem.name	yaws
-startupitem.start	"${prefix}/bin/yaws --daemon --heart --conf ${prefix}/etc/yaws/yaws.conf"
-startupitem.stop	"${prefix}/bin/yaws --stop"
+startupitem.create  yes
+startupitem.name    yaws
+startupitem.start   "${prefix}/bin/yaws --daemon --heart --conf ${prefix}/etc/yaws/yaws.conf"
+startupitem.stop    "${prefix}/bin/yaws --stop"
 
-livecheck.type	regex
-livecheck.url	http://yaws.hyber.org/download/
-livecheck.regex	{<address> Yaws (.*) Server at yaws.hyber.org </address>}
+livecheck.type      regex
+livecheck.url       http://yaws.hyber.org/download/
+livecheck.regex     {<address> Yaws (.*) Server at yaws.hyber.org </address>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110418/1ac415dc/attachment.html>


More information about the macports-changes mailing list