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 | |
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')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-Net-IP/Makefile | 26 | ||||
-rw-r--r-- | net/p5-Net-IP/distinfo | 1 | ||||
-rw-r--r-- | net/p5-Net-IP/pkg-comment | 1 | ||||
-rw-r--r-- | net/p5-Net-IP/pkg-descr | 11 | ||||
-rw-r--r-- | net/p5-Net-IP/pkg-plist | 7 |
6 files changed, 47 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 6579c88..60778ae 100644 --- a/net/Makefile +++ b/net/Makefile @@ -328,6 +328,7 @@ SUBDIR += p5-Net-Daemon SUBDIR += p5-Net-Google SUBDIR += p5-Net-ICQ2000 + SUBDIR += p5-Net-IP SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr SUBDIR += p5-Net-Jabber diff --git a/net/p5-Net-IP/Makefile b/net/p5-Net-IP/Makefile new file mode 100644 index 0000000..514fa74 --- /dev/null +++ b/net/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/p5-Net-IP/distinfo b/net/p5-Net-IP/distinfo new file mode 100644 index 0000000..991306b --- /dev/null +++ b/net/p5-Net-IP/distinfo @@ -0,0 +1 @@ +MD5 (Net-IP-1.11.tar.gz) = 8dfdb26c1847ee4b2cb97f2e58f95892 diff --git a/net/p5-Net-IP/pkg-comment b/net/p5-Net-IP/pkg-comment new file mode 100644 index 0000000..2499eef --- /dev/null +++ b/net/p5-Net-IP/pkg-comment @@ -0,0 +1 @@ +Perl extension for manipulating IPv4/IPv6 addresses diff --git a/net/p5-Net-IP/pkg-descr b/net/p5-Net-IP/pkg-descr new file mode 100644 index 0000000..99b6c56 --- /dev/null +++ b/net/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/p5-Net-IP/pkg-plist b/net/p5-Net-IP/pkg-plist new file mode 100644 index 0000000..ae134f1 --- /dev/null +++ b/net/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 |