aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-30 09:12:15 +0800
committerwill <will@FreeBSD.org>2000-06-30 09:12:15 +0800
commit98f27e0f66f6c91a75e415b79897ce61baed57c4 (patch)
treeffdbf07561e66ea5b5c8d70eb4e250bbd5501b5c /net
parent930b2f0aad4e66744971c46a0a6ec3b2e3df56e8 (diff)
downloadfreebsd-ports-graphics-98f27e0f66f6c91a75e415b79897ce61baed57c4.tar.gz
freebsd-ports-graphics-98f27e0f66f6c91a75e415b79897ce61baed57c4.tar.zst
freebsd-ports-graphics-98f27e0f66f6c91a75e415b79897ce61baed57c4.zip
Add p5-Net-Netmask, a perl module to parse, manipulate and lookup IP
network blocks. PR: 17418 Submitted by: Yu-Shun Wang <yushunwa@isi.edu>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-Netmask/Makefile25
-rw-r--r--net/p5-Net-Netmask/distinfo1
-rw-r--r--net/p5-Net-Netmask/pkg-comment1
-rw-r--r--net/p5-Net-Netmask/pkg-descr5
-rw-r--r--net/p5-Net-Netmask/pkg-plist4
6 files changed, 37 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 04f7b9f3b46..218ce57eb95 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -155,6 +155,7 @@
SUBDIR += p5-Net-DNS
SUBDIR += p5-Net-Daemon
SUBDIR += p5-Net-IPv4Addr
+ SUBDIR += p5-Net-Netmask
SUBDIR += p5-Net-RawIP
SUBDIR += p5-Net-Telnet
SUBDIR += p5-Net-Whois
diff --git a/net/p5-Net-Netmask/Makefile b/net/p5-Net-Netmask/Makefile
new file mode 100644
index 00000000000..20028a3bf3f
--- /dev/null
+++ b/net/p5-Net-Netmask/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Net-Netmask
+# Date created: Jan 28 2000
+# Whom: Wei-chun Chao
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Netmask
+PORTVERSION= 1.8
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wchao@isi.edu
+
+USE_PERL5= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Net::Netmask.3
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-Netmask/distinfo b/net/p5-Net-Netmask/distinfo
new file mode 100644
index 00000000000..9cf05adc37a
--- /dev/null
+++ b/net/p5-Net-Netmask/distinfo
@@ -0,0 +1 @@
+MD5 (Net-Netmask-1.8.tar.gz) = 31dcfdf69155da58746835a67817970d
diff --git a/net/p5-Net-Netmask/pkg-comment b/net/p5-Net-Netmask/pkg-comment
new file mode 100644
index 00000000000..df837cb4bdb
--- /dev/null
+++ b/net/p5-Net-Netmask/pkg-comment
@@ -0,0 +1 @@
+Perl module to parse, manipulate and lookup IP network blocks
diff --git a/net/p5-Net-Netmask/pkg-descr b/net/p5-Net-Netmask/pkg-descr
new file mode 100644
index 00000000000..d8c74320657
--- /dev/null
+++ b/net/p5-Net-Netmask/pkg-descr
@@ -0,0 +1,5 @@
+Net::Netmask parses and understand IPv4 CIDR blocks. It's built with an
+object-oriented interface. Nearly all functions are methods that operate
+on a Net::Netmask object.
+
+WWW: http://www.cpan.org
diff --git a/net/p5-Net-Netmask/pkg-plist b/net/p5-Net-Netmask/pkg-plist
new file mode 100644
index 00000000000..6696839b04e
--- /dev/null
+++ b/net/p5-Net-Netmask/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/site_perl/%%PERL_VER%%/Net/Netmask.pod
+lib/perl5/site_perl/%%PERL_VER%%/Net/Netmask.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Netmask/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Netmask