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 +# +# $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