summaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-NetAddr-IP
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-05-16 20:38:52 +0000
committervs <vs@FreeBSD.org>2004-05-16 20:38:52 +0000
commit70c8398ecb04b5be5dde6182f49875a87ba27702 (patch)
tree0db0ff51c29eac1cac9424bc84d7c3edba243645 /net-mgmt/p5-NetAddr-IP
parentdb324d6d389a2bcfefd37bd8f039327cda19acbf (diff)
downloadFreeBSD-ports-70c8398ecb04b5be5dde6182f49875a87ba27702.zip
FreeBSD-ports-70c8398ecb04b5be5dde6182f49875a87ba27702.tar.gz
- Update to 3.20
- Prune unused dependencies Based on PR: ports/58705 Submitted by: Yu-Shun Wang Approved by: maintainer timeout
Diffstat (limited to 'net-mgmt/p5-NetAddr-IP')
-rw-r--r--net-mgmt/p5-NetAddr-IP/Makefile12
-rw-r--r--net-mgmt/p5-NetAddr-IP/distinfo4
2 files changed, 7 insertions, 9 deletions
diff --git a/net-mgmt/p5-NetAddr-IP/Makefile b/net-mgmt/p5-NetAddr-IP/Makefile
index 6b5cf64..1e21a56 100644
--- a/net-mgmt/p5-NetAddr-IP/Makefile
+++ b/net-mgmt/p5-NetAddr-IP/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= NetAddr-IP
-PORTVERSION= 3.14
+PORTVERSION= 3.20
CATEGORIES= net-mgmt perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= NetAddr
@@ -15,9 +15,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Perl module for working with IP addresses and blocks thereof
-BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
@@ -25,14 +22,15 @@ MAN3= NetAddr::IP.3
post-patch:
${PERL} -pi -e 's/\r//;' \
- -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
+ -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);\n$$1/;' \
-e '$$_="" if /require 5/;' \
-e '$$_="" if /use warnings/;' \
- ${WRKSRC}/IP.pm ${WRKSRC}/t/v4-badnm.t
+ ${WRKSRC}/IP.pm ${WRKSRC}/t/v4-badnm.t ${WRKSRC}/t/v4-new.t \
+ ${WRKSRC}/t/v6-base.t
post-build:
@${PERL} -M5.6.0 -e '' >/dev/null 2>&1 || \
( ${ECHO_MSG} "===> Please note that this module provides more functionality when" && \
- ${ECHO_MSG} "===> used with perl 5.6.1 or perl 5.8.0 (both in the ports collection)." )
+ ${ECHO_MSG} "===> used with perl 5.6.1 or perl 5.8.1 (both in the ports collection)." )
.include <bsd.port.mk>
diff --git a/net-mgmt/p5-NetAddr-IP/distinfo b/net-mgmt/p5-NetAddr-IP/distinfo
index 35cd8dd..56847b7 100644
--- a/net-mgmt/p5-NetAddr-IP/distinfo
+++ b/net-mgmt/p5-NetAddr-IP/distinfo
@@ -1,2 +1,2 @@
-MD5 (NetAddr-IP-3.14.tar.gz) = 27703ec92de74998b16d736a304be479
-SIZE (NetAddr-IP-3.14.tar.gz) = 24211
+MD5 (NetAddr-IP-3.20.tar.gz) = d3cec0e2e759cc2851d587311762aadd
+SIZE (NetAddr-IP-3.20.tar.gz) = 32518
OpenPOWER on IntegriCloud