| @@ -1,14 +1,21 @@ | | | @@ -1,14 +1,21 @@ |
1 | # $NetBSD: options.mk,v 1.2 2009/01/15 12:12:04 adam Exp $ | | 1 | # $NetBSD: options.mk,v 1.3 2017/01/27 12:11:13 roy Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.awstats | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.awstats |
4 | | | 4 | |
5 | PKG_SUPPORTED_OPTIONS= geoip | | 5 | PKG_SUPPORTED_OPTIONS= geoip whois |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | ### | | 9 | ### |
10 | ### Use the Geo IP Free module | | 10 | ### Use the Geo IP Free module |
11 | ### | | 11 | ### |
12 | .if !empty(PKG_OPTIONS:Mgeoip) | | 12 | .if !empty(PKG_OPTIONS:Mgeoip) |
13 | DEPENDS+= p5-Geo-IPfree-[0-9]*:../../net/p5-Geo-IPfree | | 13 | DEPENDS+= p5-Geo-IPfree-[0-9]*:../../net/p5-Geo-IPfree |
| | | 14 | .endif |
| | | 15 | |
| | | 16 | ### |
| | | 17 | ### Optional Whois support |
| | | 18 | ### |
| | | 19 | .if !empty(PKG_OPTIONS:Mwhois) |
| | | 20 | DEPENDS+= p5-Net-XWhois-[0-9]*:../../net/p5-Net-XWhois |
14 | .endif | | 21 | .endif |