pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/awstats Add a whois option.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b061f65b360
branches:  trunk
changeset: 357741:1b061f65b360
user:      roy <roy%pkgsrc.org@localhost>
date:      Fri Jan 27 12:11:13 2017 +0000

description:
Add a whois option.

diffstat:

 www/awstats/options.mk |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 77d9656670a6 -r 1b061f65b360 www/awstats/options.mk
--- a/www/awstats/options.mk    Fri Jan 27 12:04:08 2017 +0000
+++ b/www/awstats/options.mk    Fri Jan 27 12:11:13 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2009/01/15 12:12:04 adam Exp $
+# $NetBSD: options.mk,v 1.3 2017/01/27 12:11:13 roy Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.awstats
+PKG_OPTIONS_VAR=        PKG_OPTIONS.awstats
 
-PKG_SUPPORTED_OPTIONS= geoip
+PKG_SUPPORTED_OPTIONS=  geoip whois
 
 .include "../../mk/bsd.options.mk"
 
@@ -10,5 +10,12 @@
 ### Use the Geo IP Free module
 ###
 .if !empty(PKG_OPTIONS:Mgeoip)
-DEPENDS+=      p5-Geo-IPfree-[0-9]*:../../net/p5-Geo-IPfree
+DEPENDS+=       p5-Geo-IPfree-[0-9]*:../../net/p5-Geo-IPfree
 .endif
+
+###
+### Optional Whois support
+###
+.if !empty(PKG_OPTIONS:Mwhois)
+DEPENDS+=       p5-Net-XWhois-[0-9]*:../../net/p5-Net-XWhois
+.endif



Home | Main Index | Thread Index | Old Index