summaryrefslogtreecommitdiff
path: root/net/p5-IP-Country
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-06-05 14:27:40 +0000
committertv <tv@pkgsrc.org>2006-06-05 14:27:40 +0000
commitee2abd95ddbbe204d26457c087b1971ff43f6be9 (patch)
tree6dd3227ba2225ded6c84f1d8f709831d92f16a87 /net/p5-IP-Country
parent3b91a4e0769abf1687051fc1de77ad38640a418c (diff)
downloadpkgsrc-ee2abd95ddbbe204d26457c087b1971ff43f6be9.tar.gz
IP::Country does not use Geography::Countries at all; rather, it only
documents that the user may wish to employ Geography::Countries in his/her own code. Remove extraneous DEPENDS. IP::Country only requires Geo::IP if using the MaxMind database wrapper IP::Country::MaxMind. The default recommended database in IP::Country doc (IP::Country::{Medium,Fast}) is builtin to IP::Country and does not require Geo::IP at all. Remove optional DEPENDS, and add a MESSAGE instead. Bump PKGREVISION for changes.
Diffstat (limited to 'net/p5-IP-Country')
-rw-r--r--net/p5-IP-Country/MESSAGE9
-rw-r--r--net/p5-IP-Country/Makefile6
2 files changed, 11 insertions, 4 deletions
diff --git a/net/p5-IP-Country/MESSAGE b/net/p5-IP-Country/MESSAGE
new file mode 100644
index 00000000000..8a39da41501
--- /dev/null
+++ b/net/p5-IP-Country/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2006/06/05 14:27:40 tv Exp $
+
+If you wish to use the IP::Country::MaxMind wrapper for the MexMind GeoIP
+database, the package net/p5-Geo-IP must also be installed. No additional
+packages are required in order to use the builtin IP::Country::Fast and
+IP::Country::Medium modules.
+
+===========================================================================
diff --git a/net/p5-IP-Country/Makefile b/net/p5-IP-Country/Makefile
index 3e8d8ee660c..8acb2efbb48 100644
--- a/net/p5-IP-Country/Makefile
+++ b/net/p5-IP-Country/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/16 17:48:02 heinz Exp $
+# $NetBSD: Makefile,v 1.2 2006/06/05 14:27:40 tv Exp $
#
DISTNAME= IP-Country-2.20
PKGNAME= p5-${DISTNAME}
+PKGREVISION= 1
SVR4_PKGNAME= p5icy
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/N/NW/NWETTERS/}
@@ -13,9 +14,6 @@ COMMENT= Fast lookup of country codes from IP addresses
PKG_INSTALLATION_TYPES= overwrite pkgviews
-DEPENDS+= p5-Geo-IP-[0-9]*:../../net/p5-Geo-IP
-DEPENDS+= p5-Geography-Countries>=1.3:../../misc/p5-Geography-Countries
-
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/IP/Country/.packlist