aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx/Makefile
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2015-06-14 03:28:13 +0800
committerosa <osa@FreeBSD.org>2015-06-14 03:28:13 +0800
commit77afc4f240b3bccbdca5f397aa67ca3d497c986c (patch)
tree8dd362c27cd797c99981b59aab0d982ebc0cbc87 /www/nginx/Makefile
parent8df58f49f91bafdb931b425ab5fe140d5ba460de (diff)
downloadfreebsd-ports-gnome-77afc4f240b3bccbdca5f397aa67ca3d497c986c.tar.gz
freebsd-ports-gnome-77afc4f240b3bccbdca5f397aa67ca3d497c986c.tar.zst
freebsd-ports-gnome-77afc4f240b3bccbdca5f397aa67ca3d497c986c.zip
Add third-party statsd module.
PR: 178799
Diffstat (limited to 'www/nginx/Makefile')
-rw-r--r--www/nginx/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 50b3fa9b461e..c89e31a20fa6 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -102,6 +102,7 @@ OPTIONS_DEFINE= \
SLOWFS_CACHE \
SMALL_LIGHT \
SRCACHE \
+ STATSD \
UDPLOG \
XRID_HEADER \
XSS \
@@ -190,6 +191,7 @@ SFLOW_DESC= 3rd party sflow module
SLOWFS_CACHE_DESC= 3rd party slowfs_cache module
SMALL_LIGHT_DESC= 3rd party small_light module
SRCACHE_DESC= 3rd party srcache module
+STATSD_DESC= 3rd party statsd module
UDPLOG_DESC= 3rd party udplog (syslog) module
XRID_HEADER_DESC= 3rd party x-rid header module
XSS_DESC= 3rd party xss module
@@ -741,6 +743,14 @@ GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache
CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache}
.endif
+.if ${PORT_OPTIONS:MSTATSD}
+NGINX_STATSD_VERSION= b756a12
+GH_ACCOUNT+= zebrafishlabs:statsd
+GH_PROJECT+= nginx-statsd:statsd
+GH_TAGNAME+= ${NGINX_STATSD_VERSION}:statsd
+CONFIGURE_ARGS+=--add-module=${WRKSRC_statsd}
+.endif
+
.if ${PORT_OPTIONS:MUDPLOG}
NGINX_UDPLOG_VERSION= 1.0.0
MASTER_SITES+= http://www.grid.net.ru/nginx/download/:udplog