diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/awstats/Makefile | 3 | ||||
-rw-r--r-- | www/awstats/options.mk | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile index e12a3a75a92..f8465c839e5 100644 --- a/www/awstats/Makefile +++ b/www/awstats/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2007/07/04 20:55:04 jlam Exp $ +# $NetBSD: Makefile,v 1.34 2008/01/03 12:37:06 adrianp Exp $ # DISTNAME= awstats-6.6 @@ -22,6 +22,7 @@ REPLACE_PERL+= tools/*.pl \ wwwroot/cgi-bin/*.pl .include "../../mk/bsd.prefs.mk" +.include "options.mk" APACHE_USER?= www APACHE_GROUP?= www diff --git a/www/awstats/options.mk b/www/awstats/options.mk new file mode 100644 index 00000000000..57b27eb879a --- /dev/null +++ b/www/awstats/options.mk @@ -0,0 +1,14 @@ +# $NetBSD: options.mk,v 1.1 2008/01/03 12:37:06 adrianp Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.awstats + +PKG_SUPPORTED_OPTIONS= awstats-geoipfree + +.include "../../mk/bsd.options.mk" + +### +### Use the Geo IP Free module +### +.if !empty(PKG_OPTIONS:Mawstats-geoipfree) +DEPENDS+= p5-Geo-IPfree-[0-9]*:../../net/p5-Geo-IPfree +.endif |