aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-05-16 18:10:49 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-05-16 18:10:49 +0000
commit6b476f25baf2767f7835f5778d4e81b691ff9c90 (patch)
tree5555377a93bf9e1f8f9b9394414f9e285a64be77
parent31907917a73e3f42bf4e517e1649bf1a8e1efbd1 (diff)
downloadports-6b476f25baf2767f7835f5778d4e81b691ff9c90.tar.gz
ports-6b476f25baf2767f7835f5778d4e81b691ff9c90.zip
Notes
-rw-r--r--net/p5-Geo-IP/Makefile10
-rw-r--r--net/p5-Geo-IP/distinfo2
-rw-r--r--net/p5-Geo-IP/pkg-plist22
3 files changed, 18 insertions, 16 deletions
diff --git a/net/p5-Geo-IP/Makefile b/net/p5-Geo-IP/Makefile
index 4ea72748ae25..0631b4272eee 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 <bsd.port.mk>
diff --git a/net/p5-Geo-IP/distinfo b/net/p5-Geo-IP/distinfo
index 2660b2205ced..449f312f29d2 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 aae7a7d54a09..725f2d20f916 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