aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-IP-Country
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-04-22 09:45:48 +0800
committerleeym <leeym@FreeBSD.org>2006-04-22 09:45:48 +0800
commit67ba7428de09ce04d09d0f75ada7f07a69782202 (patch)
treea59d26bbbb88e81a4f77ed3eeac8965bf06605f8 /net/p5-IP-Country
parentd062e214e911cdfbc0d01fb20056701990674e2c (diff)
downloadfreebsd-ports-gnome-67ba7428de09ce04d09d0f75ada7f07a69782202.tar.gz
freebsd-ports-gnome-67ba7428de09ce04d09d0f75ada7f07a69782202.tar.zst
freebsd-ports-gnome-67ba7428de09ce04d09d0f75ada7f07a69782202.zip
- Update to 2.21
- Unbreak under old perl - Refine pkg-descr PR: 95568 Submitted by: leeym Approved by: maintainer
Diffstat (limited to 'net/p5-IP-Country')
-rw-r--r--net/p5-IP-Country/Makefile12
-rw-r--r--net/p5-IP-Country/distinfo6
-rw-r--r--net/p5-IP-Country/pkg-descr20
3 files changed, 23 insertions, 15 deletions
diff --git a/net/p5-IP-Country/Makefile b/net/p5-IP-Country/Makefile
index e3c600e7f786..d094f7e0180c 100644
--- a/net/p5-IP-Country/Makefile
+++ b/net/p5-IP-Country/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= IP-Country
-PORTVERSION= 2.20
+PORTVERSION= 2.21
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/N/NW/NWETTERS
@@ -28,4 +28,12 @@ MAN3= IP::Authority.3 \
IP::Country::Slow.3 \
IP::Country.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${REINPLACE_CMD} -e '/warnings/d'
+ ${FIND} ${WRKSRC} -name "*.pm.bak" -delete
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-IP-Country/distinfo b/net/p5-IP-Country/distinfo
index aca5a0d60775..c5be597f3b3a 100644
--- a/net/p5-IP-Country/distinfo
+++ b/net/p5-IP-Country/distinfo
@@ -1,3 +1,3 @@
-MD5 (IP-Country-2.20.tar.gz) = 33a0fbda30e4572bcdf4c1d24d6b49cc
-SHA256 (IP-Country-2.20.tar.gz) = 4984b45f032b3741d2df27b671fd129bad8db67dd4125817547735009f4aa656
-SIZE (IP-Country-2.20.tar.gz) = 148526
+MD5 (IP-Country-2.21.tar.gz) = 2b58799987271920e7360348a76a195c
+SHA256 (IP-Country-2.21.tar.gz) = 5fe7b386bc038ce2c2d1fda91e961f78559b67a357840a8473fe42fb9d06eaf1
+SIZE (IP-Country-2.21.tar.gz) = 162827
diff --git a/net/p5-IP-Country/pkg-descr b/net/p5-IP-Country/pkg-descr
index c78522a53141..db1ee32465bc 100644
--- a/net/p5-IP-Country/pkg-descr
+++ b/net/p5-IP-Country/pkg-descr
@@ -1,14 +1,14 @@
-Finding the home country of a client using only the IP address can be
-difficult. Looking up the domain name associated with that address can
-provide some help, but many IP address are not reverse mapped to any
-useful domain, and the most common domain (.com) offers no help when
+Finding the home country of a client using only the IP address can be
+difficult. Looking up the domain name associated with that address can
+provide some help, but many IP address are not reverse mapped to any
+useful domain, and the most common domain (.com) offers no help when
looking for country.
-This module comes bundled with a database of countries where various IP
-addresses have been assigned. Although the country of assignment will
-probably be the country associated with a large ISP rather than the
-client herself, this is probably good enough for most log analysis
-applications, and under test has proved to be as accurate as
+This module comes bundled with a database of countries where various IP
+addresses have been assigned. Although the country of assignment will
+probably be the country associated with a large ISP rather than the
+client herself, this is probably good enough for most log analysis
+applications, and under test has proved to be as accurate as
reverse-DNS and WHOIS lookup.
-WWW: http://search.cpan.org/dist/IP-Country/ /
+WWW: http://search.cpan.org/dist/IP-Country/