diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2003-04-02 22:05:45 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2003-04-02 22:05:45 +0000 |
commit | 2f2d9d857d521288bd77987d415060c57bbaaf27 (patch) | |
tree | 82ee15888882c06ed0196e34600b1eb93dbecc43 /net | |
parent | It looks like something is wrong with CPAN propagation author -> (diff) |
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.
Notes
Notes:
svn path=/head/; revision=78006
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-Geo-IPfree/Makefile | 31 | ||||
-rw-r--r-- | net/p5-Geo-IPfree/distinfo | 1 | ||||
-rw-r--r-- | net/p5-Geo-IPfree/pkg-descr | 8 | ||||
-rw-r--r-- | net/p5-Geo-IPfree/pkg-plist | 8 |
5 files changed, 49 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index a17d6d645a13..89e83da61ae4 100644 --- a/net/Makefile +++ b/net/Makefile @@ -391,6 +391,7 @@ SUBDIR += p5-File-Rsync SUBDIR += p5-Frontier-RPC SUBDIR += p5-Geo-IP + SUBDIR += p5-Geo-IPfree SUBDIR += p5-IO-Interface SUBDIR += p5-IO-Socket-Multicast SUBDIR += p5-JUNOScript 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 <tobez@FreeBSD.org> +# +# $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 <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again." +.endif + +.include <bsd.port.post.mk> 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. <gm@virtuasites.com.br> +WWW: http://search.cpan.org/search?dist=Geo-IPfree + +-Anton +<tobez@FreeBSD.org> 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 |