Fri Jan 27 12:11:13 2017 UTC ()
Add a whois option.


(roy)
diff -r1.2 -r1.3 pkgsrc/www/awstats/options.mk

cvs diff -r1.2 -r1.3 pkgsrc/www/awstats/Attic/options.mk (expand / switch to context diff)
--- pkgsrc/www/awstats/Attic/options.mk 2009/01/15 12:12:04 1.2
+++ pkgsrc/www/awstats/Attic/options.mk 2017/01/27 12:11:13 1.3
@@ -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