diff options
author | adrianp <adrianp> | 2008-01-03 12:37:06 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2008-01-03 12:37:06 +0000 |
commit | 2c68de1035c7c2917782d34ac63429ba921024b0 (patch) | |
tree | 6520b54bd6e65668a7e449f28f087792a0f9e0e1 /www | |
parent | e7b9a600bf346ec63c2f6f628069147070096d0a (diff) | |
download | pkgsrc-2c68de1035c7c2917782d34ac63429ba921024b0.tar.gz |
Add in an options.mk for Geo IP Free
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 |