[78339] trunk/dports/www/lighttpd/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue May 3 21:16:28 PDT 2011


Revision: 78339
          http://trac.macports.org/changeset/78339
Author:   ryandesign at macports.org
Date:     2011-05-03 21:16:26 -0700 (Tue, 03 May 2011)
Log Message:
-----------
lighttpd: whitespace changes / reformatting

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

Modified: trunk/dports/www/lighttpd/Portfile
===================================================================
--- trunk/dports/www/lighttpd/Portfile	2011-05-04 03:27:58 UTC (rev 78338)
+++ trunk/dports/www/lighttpd/Portfile	2011-05-04 04:16:26 UTC (rev 78339)
@@ -1,23 +1,28 @@
 # -*- 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
-name              lighttpd
-version           1.4.28
-set branch        [join [lrange [split ${version} .] 0 1] .]
-categories        www
-platforms         darwin
-maintainers       ryandesign
-license           BSD
-description       A secure, fast, compliant and flexible web-server
-long_description  lighttpd is a secure, fast, compliant and very flexible\
-                  web-server which has been optimized for high-performance\
-                  environments. It has a very low memory footprint\
-                  compared to other webservers and takes care of cpu-load.
-homepage          http://www.lighttpd.net/
-master_sites      http://download.lighttpd.net/lighttpd/releases-${branch}.x/
-use_bzip2         yes
+PortSystem                  1.0
 
+name                        lighttpd
+version                     1.4.28
+set branch                  [join [lrange [split ${version} .] 0 1] .]
+categories                  www
+platforms                   darwin
+maintainers                 ryandesign
+license                     BSD
+
+description                 A secure, fast, compliant and flexible web-server
+
+long_description            lighttpd is a secure, fast, compliant and very \
+                            flexible web server which has been optimized for \
+                            high-performance environments. It has a very low \
+                            memory footprint compared to other web servers \
+                            and takes care of CPU load.
+
+homepage                    http://www.lighttpd.net/
+master_sites                http://download.lighttpd.net/lighttpd/releases-${branch}.x/
+use_bzip2                   yes
+
 checksums                   sha1    42915dffe2af4f870cc1cdc0218edb60a0a315c2 \
                             rmd160  5af6c848dd251c9d15f5185f54411744ae41c67b
 
@@ -25,8 +30,8 @@
 
 depends_lib                 port:bzip2 \
                             port:pcre \
-                  port:spawn-fcgi \
-                  port:zlib
+                            port:spawn-fcgi \
+                            port:zlib
 
 patchfiles                  patch-conf.diff
 
@@ -58,14 +63,15 @@
 
 set lighttpd_config_dir     ${prefix}/etc/${name}
 
-startupitem.create  yes
+startupitem.create          yes
 startupitem.executable      ${prefix}/sbin/lighttpd -D -f ${lighttpd_config_dir}/lighttpd.conf
 
-destroot.keepdirs   ${destroot}${prefix}/var/log/lighttpd \
-                    ${destroot}${prefix}/www/htdocs \
-                    ${destroot}${prefix}/var/run/lighttpd \
-                    ${destroot}${prefix}/var/lib/lighttpd/sockets \
-                    ${destroot}${prefix}/var/cache/lighttpd/compress
+destroot.keepdirs           ${destroot}${prefix}/var/log/lighttpd \
+                            ${destroot}${prefix}/www/htdocs \
+                            ${destroot}${prefix}/var/run/lighttpd \
+                            ${destroot}${prefix}/var/lib/lighttpd/sockets \
+                            ${destroot}${prefix}/var/cache/lighttpd/compress
+
 post-destroot {
     xinstall -d ${destroot}${lighttpd_config_dir}/conf.d
     foreach f [glob ${worksrcpath}/doc/config/*.conf] {
@@ -85,7 +91,7 @@
        ${docdir}
 }
 
-install.asroot      yes
+install.asroot              yes
 
 post-activate {
     # Copy default conf files if not present
@@ -104,36 +110,34 @@
 }
 
 variant mysql4 conflicts mysql5 {
-   depends_lib-append    port:mysql4
-   configure.args-append --with-mysql=${prefix}/bin/mysql_config
-   #configure.cppflags-append -I${prefix}/include/mysql
+    depends_lib-append      port:mysql4
+    configure.args-append   --with-mysql=${prefix}/bin/mysql_config
+    #configure.cppflags-append -I${prefix}/include/mysql
 }
 
 variant mysql5 conflicts mysql4 {
-   depends_lib-append    path:bin/mysql_config5:mysql5
-   configure.args-append --with-mysql=${prefix}/bin/mysql_config5
-   #configure.cppflags-append -I${prefix}/include/mysql5/mysql
+    depends_lib-append      path:bin/mysql_config5:mysql5
+    configure.args-append   --with-mysql=${prefix}/bin/mysql_config5
+    #configure.cppflags-append -I${prefix}/include/mysql5/mysql
 }
 
 variant ssl {
-   depends_lib-append   port:openssl
+    depends_lib-append      port:openssl
     configure.args-append   --with-openssl
 }
 
 variant cml {
-   depends_lib-append   port:lua \
-                        port:libmemcache \
-                        port:memcached
-                        
-   configure.args-append --with-lua \
-                         --with-memcache
+    depends_lib-append      port:lua \
+                            port:libmemcache \
+                            port:memcached
+    configure.args-append   --with-lua \
+                            --with-memcache
 }
 
 variant davprops {
-   depends_lib-append   port:libxml2 \
-                        port:sqlite3
-                        
-   configure.args-append --with-webdav-props
+    depends_lib-append      port:libxml2 \
+                            port:sqlite3
+    configure.args-append   --with-webdav-props
 }
 
 default_variants            +ssl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110503/3de3f476/attachment-0001.html>


More information about the macports-changes mailing list