[40462] trunk/dports/www/nginx/Portfile

boeyms at macports.org boeyms at macports.org
Thu Oct 2 10:26:30 PDT 2008


Revision: 40462
          http://trac.macports.org/changeset/40462
Author:   boeyms at macports.org
Date:     2008-10-02 10:26:30 -0700 (Thu, 02 Oct 2008)
Log Message:
-----------
nginx: add multiple variants

This patch adds variants to enable:
 * nginx to act as a backend (realip);
 * nginx to automatically append text to pages (addition);
 * nginx to automatically replace text in pages (substitution);
 * nginx to cache compressed versions of files it has gzipped for
   transmission (gzip-static); and
 * Google Performance Tools profiling on worker threads (google_perftools).

These variants come from the patch submitted in ticket:15948.

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

Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile	2008-10-02 17:19:43 UTC (rev 40461)
+++ trunk/dports/www/nginx/Portfile	2008-10-02 17:26:30 UTC (rev 40462)
@@ -105,3 +105,26 @@
     depends_run-append	    port:perl5.8
     configure.args-append   --with-http_perl_module
 }
+
+variant realip description {Using nginx as a backend} {
+    configure.args-append   --with-http_realip_module
+}
+
+variant addition description {Append text to pages} {
+    configure.args-append   --with-http_addition_module
+}
+
+variant substitution description {Replace text in pages} {
+    configure.args-append   --with-http_sub_module
+}
+
+variant gzip_static description {Avoids compressing the same file each\
+        time it is requested} {
+    configure.args-append   --with-http_gzip_static_module
+}
+
+variant google_perftools description {Enable Google Performance Tools\
+        profiling for workers} {
+    depends_lib-append      port:google-perftools
+    configure.args-append   --with-google_perftools_module
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081002/2f26e015/attachment.html 


More information about the macports-changes mailing list