summaryrefslogtreecommitdiff
path: root/www/awstats
diff options
context:
space:
mode:
authorroy <roy>2017-01-27 12:11:13 +0000
committerroy <roy>2017-01-27 12:11:13 +0000
commita71905f5fa65e2ad409b84e02532832786ecbf4e (patch)
treee96c6e4abf43f3b141b63c24a76bd863d0935e6e /www/awstats
parentbe5d11544693fe5e197283d27323a7577184caba (diff)
downloadpkgsrc-a71905f5fa65e2ad409b84e02532832786ecbf4e.tar.gz
Add a whois option.
Diffstat (limited to 'www/awstats')
-rw-r--r--www/awstats/options.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/www/awstats/options.mk b/www/awstats/options.mk
index 3a13f0c770b..96b406d1956 100644
--- a/www/awstats/options.mk
+++ b/www/awstats/options.mk
@@ -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 @@ PKG_SUPPORTED_OPTIONS= geoip
### 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