aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2007-06-28 23:18:57 +0800
committerosa <osa@FreeBSD.org>2007-06-28 23:18:57 +0800
commit0beb18ef3ea37276de0daa084c899ec82ab3a86d (patch)
tree8180bf14b39b232d2ece78cd900ef5eb22801fe3 /www/nginx
parent1f40f9d347586099474b8709b640fdcbceff5b5d (diff)
downloadfreebsd-ports-gnome-0beb18ef3ea37276de0daa084c899ec82ab3a86d.tar.gz
freebsd-ports-gnome-0beb18ef3ea37276de0daa084c899ec82ab3a86d.tar.zst
freebsd-ports-gnome-0beb18ef3ea37276de0daa084c899ec82ab3a86d.zip
Knobs management:
i) remove absolete WITH_IMAP_MODULE. ii) new one WITH_ADDITION_MODULE (*). Do not bump PORTREVISION. Requested by: dwl aka dwl at dewil dot ru (*)
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index de7ba32cdc59..438a732514b5 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -53,7 +53,11 @@ NGINX_OPENSSL= yes
CONFIGURE_ARGS+=--with-http_ssl_module
.endif
-.if defined(WITH_MAIL_MODULE) || defined(WITH_IMAP_MODULE)
+.if defined(WITH_ADDITION_MODULE)
+CONFIGURE_ARGS+=--with-http_addition_module
+.endif
+
+.if defined(WITH_MAIL_MODULE)
NGINX_OPENSSL= yes
CONFIGURE_ARGS+=--with-mail --with-mail_ssl_module
.endif
@@ -82,14 +86,6 @@ PLIST_SUB+= WWWDATA=""
PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
-pre-fetch:
-.if defined(WITH_IMAP_MODULE)
- @${ECHO_MSG}
- @${ECHO_MSG} WITH_IMAP_MODULE knob deprecated.
- @${ECHO_MSG} Please use WITH_MAIL_MODULE knob instead.
- @${ECHO_MSG}
-.endif
-
post-patch:
@${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \
s!%%PREFIX%%!${PREFIX}!' \