summaryrefslogtreecommitdiff
path: root/net/p5-Geo-IP/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-07-03 00:59:03 +0000
committerminskim <minskim@pkgsrc.org>2004-07-03 00:59:03 +0000
commitc6db26e2ea154017488bd0e9f7afdb81bd75f568 (patch)
tree81ff8584328bc23ff63e8b85f51b1fcb120b5f25 /net/p5-Geo-IP/Makefile
parent0353fbc30d6070e7ca69f335ae278a20c48a1a1e (diff)
downloadpkgsrc-c6db26e2ea154017488bd0e9f7afdb81bd75f568.tar.gz
Import p5-Geo-IP from pkgsrc-wip. Packaged by xtraeme@ and updated by me.
This module a simple file-based database. This database simply contains IP blocks as keys, and countries as values. The data contains all public IP addresses and should be more complete and accurate than reverse complete COMPLETE and accurate than reverse DNS lookups. This module can be used to automatically select the geographically closest mirror, or to analyze your web server logs to determine the countries of your visitors.
Diffstat (limited to 'net/p5-Geo-IP/Makefile')
-rw-r--r--net/p5-Geo-IP/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/p5-Geo-IP/Makefile b/net/p5-Geo-IP/Makefile
new file mode 100644
index 00000000000..2fce8fbca24
--- /dev/null
+++ b/net/p5-Geo-IP/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/03 00:59:03 minskim Exp $
+#
+
+DISTNAME= Geo-IP-1.21
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Geo/}
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.maxmind.com/geoip/api/perl.shtml
+COMMENT= Gets country name by IP or hostname
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Geo/IP/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../net/GeoIP/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"