From c5839fc56283d73cab031f114ae0ab1545f70139 Mon Sep 17 00:00:00 2001 From: seanc Date: Fri, 16 May 2003 18:10:49 +0000 Subject: Update p5-Geo-IP to 1.15. Fixes builds for perl 5.005. Chase GeoIP.so version bump. PR: ports/52337 Submitted by: Mathieu Arnold --- net/p5-Geo-IP/Makefile | 10 ++++++---- net/p5-Geo-IP/distinfo | 2 +- net/p5-Geo-IP/pkg-plist | 22 +++++++++++----------- 3 files changed, 18 insertions(+), 16 deletions(-) (limited to 'net/p5-Geo-IP') diff --git a/net/p5-Geo-IP/Makefile b/net/p5-Geo-IP/Makefile index 4ea7274..0631b42 100644 --- a/net/p5-Geo-IP/Makefile +++ b/net/p5-Geo-IP/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Geo-IP -PORTVERSION= 1.13 +PORTVERSION= 1.15 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ http://www.maxmind.com/download/geoip/api/perl/ @@ -16,12 +16,14 @@ PKGNAMEPREFIX= p5- MAINTAINER= seanc@FreeBSD.org COMMENT= Gets country name by IP or hostname -LIB_DEPENDS= GeoIP.2:${PORTSDIR}/net/GeoIP +LIB_DEPENDS= GeoIP.3:${PORTSDIR}/net/GeoIP PERL_CONFIGURE= yes -CONFIGURE_ARGS= LIBS='-L${PREFIX}/lib' INC='-I${PREFIX}/include' +CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib' INC='-I${LOCALBASE}/include' -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Geo::Mirror.3 Geo::IP.3 Geo::IP::Record.3 +post-patch: + @${PERL} -pii -e 's/^our (.*),(.*);$$/use vars qw$$1$$2;/' ${WRKSRC}/lib/Geo/Mirror.pm + .include diff --git a/net/p5-Geo-IP/distinfo b/net/p5-Geo-IP/distinfo index 2660b22..449f312 100644 --- a/net/p5-Geo-IP/distinfo +++ b/net/p5-Geo-IP/distinfo @@ -1 +1 @@ -MD5 (Geo-IP-1.13.tar.gz) = ff95c2e7d027a96bcfb3ed2a302b0493 +MD5 (Geo-IP-1.15.tar.gz) = 983aa97781157f330d68c5e993113493 diff --git a/net/p5-Geo-IP/pkg-plist b/net/p5-Geo-IP/pkg-plist index aae7a7d..725f2d2 100644 --- a/net/p5-Geo-IP/pkg-plist +++ b/net/p5-Geo-IP/pkg-plist @@ -1,11 +1,11 @@ -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/Mirror.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP/Record.pod -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP/Record.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/.packlist -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/IP.bs -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP/IP.so -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo/IP -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Geo -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo/IP -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Geo +%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP/Record.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP/Record.pod +%%SITE_PERL%%/%%PERL_ARCH%%/Geo/Mirror.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/IP.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP/IP.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IP +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Geo/IP +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Geo -- cgit v1.1