aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-05-17 02:10:49 +0800
committerseanc <seanc@FreeBSD.org>2003-05-17 02:10:49 +0800
commitc5839fc56283d73cab031f114ae0ab1545f70139 (patch)
tree87ce73fd598956dde6d7d66d9461f555301818d5 /net
parent57304643d3137a0cee7088ebd9ad1d5e306e6a22 (diff)
downloadfreebsd-ports-gnome-c5839fc56283d73cab031f114ae0ab1545f70139.tar.gz
freebsd-ports-gnome-c5839fc56283d73cab031f114ae0ab1545f70139.tar.zst
freebsd-ports-gnome-c5839fc56283d73cab031f114ae0ab1545f70139.zip
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 <m@absolight.net>
Diffstat (limited to 'net')
-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