summaryrefslogtreecommitdiff
path: root/www/awstats
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2008-01-03 12:37:06 +0000
committeradrianp <adrianp@pkgsrc.org>2008-01-03 12:37:06 +0000
commite34d778df64f5fba01a205309d45eba60dd64ed6 (patch)
tree6520b54bd6e65668a7e449f28f087792a0f9e0e1 /www/awstats
parent76504eb68c2a812d0d628d5dcc5d4b1e929eb584 (diff)
downloadpkgsrc-e34d778df64f5fba01a205309d45eba60dd64ed6.tar.gz
Add in an options.mk for Geo IP Free
Diffstat (limited to 'www/awstats')
-rw-r--r--www/awstats/Makefile3
-rw-r--r--www/awstats/options.mk14
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