diff options
author | tobez <tobez@FreeBSD.org> | 2002-06-13 10:42:49 +0000 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2002-06-13 10:42:49 +0000 |
commit | 29571aedaaaeda195c3b59d97831a252fc305668 (patch) | |
tree | eb6d06c5a284b3bc2a964ff72309a8a9851b12f2 /net-mgmt | |
parent | 63653a2ce440d6eb240be526673149b9a0ed82ea (diff) | |
download | FreeBSD-ports-29571aedaaaeda195c3b59d97831a252fc305668.zip FreeBSD-ports-29571aedaaaeda195c3b59d97831a252fc305668.tar.gz |
Add p5-Net-IP 1.11, a perl extension for manipulating IPv4/IPv6
addresses.
PR: 38738
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/p5-Net-IP/Makefile | 26 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IP/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IP/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IP/pkg-descr | 11 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IP/pkg-plist | 7 |
5 files changed, 46 insertions, 0 deletions
diff --git a/net-mgmt/p5-Net-IP/Makefile b/net-mgmt/p5-Net-IP/Makefile new file mode 100644 index 0000000..514fa74 --- /dev/null +++ b/net-mgmt/p5-Net-IP/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-Net-IP +# Date created: 30 May 2002 +# Whom: Kimura Fuyuki <fuyuki@hadaly.org> +# +# $FreeBSD$ +# + +PORTNAME= Net-IP +PORTVERSION= 1.11 +CATEGORIES= net perl5 ipv6 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Net +PKGNAMEPREFIX= p5- + +MAINTAINER= fuyuki@hadaly.org + +PERL_CONFIGURE= yes + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Net::IP.3 + +post-patch: + ${PERL} -pi -e 's,/usr/local/ncc/bin,${PREFIX}/bin,' ${WRKSRC}/Makefile.PL + ${PERL} -pi -e 's,/usr/local/bin/perl5.6.0,${PERL},' ${WRKSRC}/ipcount + +.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-IP/distinfo b/net-mgmt/p5-Net-IP/distinfo new file mode 100644 index 0000000..991306b --- /dev/null +++ b/net-mgmt/p5-Net-IP/distinfo @@ -0,0 +1 @@ +MD5 (Net-IP-1.11.tar.gz) = 8dfdb26c1847ee4b2cb97f2e58f95892 diff --git a/net-mgmt/p5-Net-IP/pkg-comment b/net-mgmt/p5-Net-IP/pkg-comment new file mode 100644 index 0000000..2499eef --- /dev/null +++ b/net-mgmt/p5-Net-IP/pkg-comment @@ -0,0 +1 @@ +Perl extension for manipulating IPv4/IPv6 addresses diff --git a/net-mgmt/p5-Net-IP/pkg-descr b/net-mgmt/p5-Net-IP/pkg-descr new file mode 100644 index 0000000..99b6c56 --- /dev/null +++ b/net-mgmt/p5-Net-IP/pkg-descr @@ -0,0 +1,11 @@ +This module provides functions to deal with IPv4/IPv6 addresses. The +module can be used as a class, allowing the user to instantiate IP +objects, which can be single IP addresses, prefixes, or ranges of +addresses. There is also a procedural way of accessing most of the +functions. Most subroutines can take either IPv4 or IPv6 addresses +transparently. + +WWW: http://search.cpan.org/search?dist=Net-IP + +- Kimura Fuyuki +fuyuki@hadaly.org diff --git a/net-mgmt/p5-Net-IP/pkg-plist b/net-mgmt/p5-Net-IP/pkg-plist new file mode 100644 index 0000000..ae134f1 --- /dev/null +++ b/net-mgmt/p5-Net-IP/pkg-plist @@ -0,0 +1,7 @@ +bin/iptab +bin/ipcount +lib/perl5/site_perl/%%PERL_VER%%/Net/IP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IP/.packlist +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IP +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true |