From 2f2d9d857d521288bd77987d415060c57bbaaf27 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Wed, 2 Apr 2003 22:05:45 +0000 Subject: Add net/p5-Geo-IPfree, a perl module to lookup country from an IP address. This module makes such lookups off-line and the database of IPs is free. --- net/p5-Geo-IPfree/Makefile | 31 +++++++++++++++++++++++++++++++ net/p5-Geo-IPfree/distinfo | 1 + net/p5-Geo-IPfree/pkg-descr | 8 ++++++++ net/p5-Geo-IPfree/pkg-plist | 8 ++++++++ 4 files changed, 48 insertions(+) create mode 100644 net/p5-Geo-IPfree/Makefile create mode 100644 net/p5-Geo-IPfree/distinfo create mode 100644 net/p5-Geo-IPfree/pkg-descr create mode 100644 net/p5-Geo-IPfree/pkg-plist (limited to 'net/p5-Geo-IPfree') diff --git a/net/p5-Geo-IPfree/Makefile b/net/p5-Geo-IPfree/Makefile new file mode 100644 index 000000000000..cf4fa90be63f --- /dev/null +++ b/net/p5-Geo-IPfree/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: net/p5-Geo-IPfree +# Date created: 02 April 2003 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= Geo-IPfree +PORTVERSION= 0.2 +CATEGORIES= net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Geo +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= Look up country from an IP Address + +BUILD_DEPENDS= ${SITE_PERL}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Geo::IPfree.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again." +.endif + +.include diff --git a/net/p5-Geo-IPfree/distinfo b/net/p5-Geo-IPfree/distinfo new file mode 100644 index 000000000000..f10409b950c1 --- /dev/null +++ b/net/p5-Geo-IPfree/distinfo @@ -0,0 +1 @@ +MD5 (Geo-IPfree-0.2.tar.gz) = 581a8f8c917d5e1e44fa2f5223a6832b diff --git a/net/p5-Geo-IPfree/pkg-descr b/net/p5-Geo-IPfree/pkg-descr new file mode 100644 index 000000000000..a0fd6e20d75b --- /dev/null +++ b/net/p5-Geo-IPfree/pkg-descr @@ -0,0 +1,8 @@ +Looks up country from an IP Address. This module makes this off-line and +the database of IPs is free. + +Author: Graciliano M. P. +WWW: http://search.cpan.org/search?dist=Geo-IPfree + +-Anton + diff --git a/net/p5-Geo-IPfree/pkg-plist b/net/p5-Geo-IPfree/pkg-plist new file mode 100644 index 000000000000..cd4cdf101233 --- /dev/null +++ b/net/p5-Geo-IPfree/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree/.packlist +%%SITE_PERL%%/Geo/IPfree.pm +%%SITE_PERL%%/Geo/txt2ipct.pl +%%SITE_PERL%%/Geo/ipscountry.dat +%%SITE_PERL%%/Geo/ipct2txt.pl +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Geo 2>/dev/null || true -- cgit v1.2.3