pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/awstats Add in an options.mk for Geo IP Free



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb7fcd3f97d3
branches:  trunk
changeset: 537063:cb7fcd3f97d3
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Thu Jan 03 12:37:06 2008 +0000

description:
Add in an options.mk for Geo IP Free

diffstat:

 www/awstats/Makefile   |   3 ++-
 www/awstats/options.mk |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 6e1a5e7f1945 -r cb7fcd3f97d3 www/awstats/Makefile
--- a/www/awstats/Makefile      Thu Jan 03 12:32:46 2008 +0000
+++ b/www/awstats/Makefile      Thu Jan 03 12:37:06 2008 +0000
@@ -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 @@
                wwwroot/cgi-bin/*.pl
 
 .include "../../mk/bsd.prefs.mk"
+.include "options.mk"
 
 APACHE_USER?=  www
 APACHE_GROUP?= www
diff -r 6e1a5e7f1945 -r cb7fcd3f97d3 www/awstats/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/awstats/options.mk    Thu Jan 03 12:37:06 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index