summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-06-27 18:00:24 +0000
committerjoerg <joerg@pkgsrc.org>2010-06-27 18:00:24 +0000
commitd607d0bf51198952de429e973618da7cbf9d3f10 (patch)
tree3a6f2884d2fda012bb84290ac07f6834792fde08 /www/nginx
parentfb32cffb6661f574d27330eaf43d50390ff4ef1f (diff)
downloadpkgsrc-d607d0bf51198952de429e973618da7cbf9d3f10.tar.gz
Add optional support for the push module. From Mike Bowie.
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/options.mk16
1 files changed, 12 insertions, 4 deletions
diff --git a/www/nginx/options.mk b/www/nginx/options.mk
index f63b43cc31f..09b53de0786 100644
--- a/www/nginx/options.mk
+++ b/www/nginx/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.9 2010/06/15 20:05:48 joerg Exp $
+# $NetBSD: options.mk,v 1.10 2010/06/27 18:00:24 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
-PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \
- realip inet6 uwsgi
-PKG_SUGGESTED_OPTIONS= ssl pcre
+PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache pcre \
+ push realip ssl sub uwsgi
+PKG_SUGGESTED_OPTIONS= pcre ssl
PLIST_VARS+= uwsgi
@@ -58,5 +58,13 @@ CONFIGURE_ARGS+= --with-ipv6
EGFILES+= uwsgi_params
PLIST.uwsgi= yes
.else
+
+.if !empty(PKG_OPTIONS:Mpush)
+PUSH= nginx_http_push_module-0.692
+DISTFILES+= ${PUSH}.tar.gz
+SITES.${PUSH}.tar.gz= http://pushmodule.slact.net/downloads/
+CONFIGURE_ARGS+= --add-module=../${PUSH}
+.endif
+
CONFIGURE_ARGS+= --without-http_uwsgi_module
.endif