[90734] trunk/dports/www/nginx/Portfile
cal at macports.org
cal at macports.org
Tue Mar 13 17:39:19 PDT 2012
Revision: 90734
http://trac.macports.org/changeset/90734
Author: cal at macports.org
Date: 2012-03-13 17:39:18 -0700 (Tue, 13 Mar 2012)
Log Message:
-----------
nginx: Whitespace only
Modified Paths:
--------------
trunk/dports/www/nginx/Portfile
Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile 2012-03-14 00:39:17 UTC (rev 90733)
+++ trunk/dports/www/nginx/Portfile 2012-03-14 00:39:18 UTC (rev 90734)
@@ -11,15 +11,14 @@
maintainers cal openmaintainer
description High-performance HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
-long_description Nginx ("engine x") is a high-performance HTTP(S) server \
- and reverse proxy, as well as an IMAP/POP3 proxy server. \
- Nginx was written by Igor Sysoev for Rambler.ru, Russia's \
- second-most visited website, where it has been running in \
- production for over two and a half years. Igor has \
- released the source code under a BSD-like license. \
- Although still in beta, Nginx is known for its stability, \
- rich feature set, simple configuration, and low resource \
- consumption.
+long_description \
+ Nginx ("engine x") is a high-performance HTTP(S) server and reverse proxy, \
+ as well as an IMAP/POP3 proxy server. Nginx was written by Igor Sysoev for \
+ Rambler.ru, Russia's second-most visited website, where it has been running \
+ in production for over two and a half years. Igor has released the source \
+ code under a BSD-like license. Although still in beta, Nginx is known for \
+ its stability, rich feature set, simple configuration, and low resource \
+ consumption.
homepage http://nginx.org/
master_sites http://nginx.org/download:nginx \
@@ -33,8 +32,7 @@
rmd160 cac2e7986b162266ed10f9c1578977f8123283c0 \
sha256 be9fef6d4b4626e6f026467244eb9ea20d995d0bae908235609e1a29d61e9f86
-depends_lib \
- port:pcre \
+depends_lib port:pcre \
port:zlib
patchfiles patch-auto__install.diff \
@@ -84,20 +82,21 @@
copy ${nginx_conf} ${nginx_conf}.altered
ui_msg ""
ui_msg "###############################################################"
- ui_msg "# It appears that you have altered ${nginx_conf},"
- ui_msg "# and that upgrading or uninstalling your previous installation"
- ui_msg "# of ${name} will clobber your copy. It has been copied to"
+ ui_msg "# It appears that you have altered ${nginx_conf}, and that"
+ ui_msg "# upgrading or uninstalling your previous installation of"
+ ui_msg "# ${name} will clobber your copy. It has been copied to"
ui_msg "# ${nginx_conf}.altered for preservation when you upgrade or"
- ui_msg "# uninstall ${name}. This problem should not occur with future"
- ui_msg "# upgrades or installations of this port.\n"
+ ui_msg "# uninstall ${name}. This problem should not occur with future"
+ ui_msg "# upgrades or installations of this port."
ui_msg "###############################################################"
ui_msg ""
}
}
-startupitem.create yes
-startupitem.executable ${prefix}/sbin/nginx
-startupitem.pidfile auto ${nginx_pidfile}
+startupitem.create yes
+startupitem.pidfile auto ${nginx_pidfile}
+startupitem.executable \
+ ${prefix}/sbin/nginx
variant dav description {Add WebDAV support to server} {
configure.args-append --with-http_dav_module
@@ -133,7 +132,7 @@
# at that time.
variant perl5 description {Add perl support to the server directly within\
nginx and call perl via SSI} {
- depends_run-append path:bin/perl:perl5
+ depends_run-append path:bin/perl:perl5
configure.args-append --with-http_perl_module \
--with-perl=${prefix}/bin/perl
}
@@ -163,13 +162,13 @@
variant upload description {Enable Valery Kholodkov's upload module\
(http://grid.net.ru/nginx/upload.en.html)} {
- set upload_filename nginx_upload_module
- set upload_version 2.2.0
- set upload_distname ${upload_filename}-${upload_version}
- distfiles-append ${upload_distname}.tar.gz:upload_module
- checksums-append ${upload_distname}.tar.gz \
- rmd160 5734af837be3fe8ec444a7e5e7f6707118594098 \
- sha256 b1c26abe0427180602e257627b4ed21848c93cc20cefc33af084983767d65805
+ set upload_filename nginx_upload_module
+ set upload_version 2.2.0
+ set upload_distname ${upload_filename}-${upload_version}
+ distfiles-append ${upload_distname}.tar.gz:upload_module
+ checksums-append ${upload_distname}.tar.gz \
+ rmd160 5734af837be3fe8ec444a7e5e7f6707118594098 \
+ sha256 b1c26abe0427180602e257627b4ed21848c93cc20cefc33af084983767d65805
configure.args-append --add-module=${workpath}/${upload_distname}
}
@@ -177,41 +176,41 @@
(http://wiki.nginx.org/HttpSecureDownload)} {
set secure_download_distname Ngx_http_secure_download
- distfiles-append ${secure_download_distname}.tar.gz:secure_download_module
- checksums-append ${secure_download_distname}.tar.gz \
- rmd160 d514a4170420dd0f3f881982b15c2794371fbb7e \
- sha256 e53ed6d032878e81504bfd398eaaad9974c7e525a9f3ffd23f1564ccfa215cf4
+ distfiles-append ${secure_download_distname}.tar.gz:secure_download_module
+ checksums-append ${secure_download_distname}.tar.gz \
+ rmd160 d514a4170420dd0f3f881982b15c2794371fbb7e \
+ sha256 e53ed6d032878e81504bfd398eaaad9974c7e525a9f3ffd23f1564ccfa215cf4
configure.args-append --add-module=${workpath}/${secure_download_distname}
- depends_lib-append port:mhash
+ depends_lib-append port:mhash
}
variant zip description {Enable Ngx zip download module \
(http://wiki.nginx.org/NginxNgxZip)} {
- set zip_distname Mod_zip-1.1.4
- distfiles-append ${zip_distname}.tar.gz:zip_module
- checksums-append ${zip_distname}.tar.gz \
- rmd160 f03a299b91bbf2e48df01030f8e708c0c587bf79 \
- sha256 d152861779a7b04634e6e0b87a53707ccad06e00bba65246b9005ddc8d0f654b
+ set zip_distname Mod_zip-1.1.4
+ distfiles-append ${zip_distname}.tar.gz:zip_module
+ checksums-append ${zip_distname}.tar.gz \
+ rmd160 f03a299b91bbf2e48df01030f8e708c0c587bf79 \
+ sha256 d152861779a7b04634e6e0b87a53707ccad06e00bba65246b9005ddc8d0f654b
configure.args-append --add-module=${workpath}/${zip_distname}
}
variant redis description {Enable Ngx HTTP Redis module} {
- set redis_filename ngx_http_redis
- set redis_version 0.3.1
- set redis_distname ${redis_filename}-${redis_version}
- distfiles-append ${redis_distname}.tar.gz:redis_module
- checksums-append ${redis_distname}.tar.gz \
- rmd160 2a8a7ca4b62b33558b249aa19f7d5f34f77a2801 \
- sha256 b66291bf7a034baf351fc4d0e57558d672bed0582fcfa9008eba4acf6b4486c4
+ set redis_filename ngx_http_redis
+ set redis_version 0.3.1
+ set redis_distname ${redis_filename}-${redis_version}
+ distfiles-append ${redis_distname}.tar.gz:redis_module
+ checksums-append ${redis_distname}.tar.gz \
+ rmd160 2a8a7ca4b62b33558b249aa19f7d5f34f77a2801 \
+ sha256 b66291bf7a034baf351fc4d0e57558d672bed0582fcfa9008eba4acf6b4486c4
configure.args-append --add-module=${workpath}/${redis_distname}
}
variant geoip description {Enable Ngx http GeoIP module \
(http://wiki.nginx.org/HttpGeoIPModule)} {
- configure.args-append --with-http_geoip_module
- depends_lib-append port:libgeoip
+ configure.args-append --with-http_geoip_module
+ depends_lib-append port:libgeoip
}
variant debug description {Enable debug mode} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120313/6591e7ff/attachment.html>
More information about the macports-changes
mailing list