aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-05-25 19:55:12 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-05-25 19:55:12 +0000
commitee8465886da8a9ae95d93d6b710fd510b895f3e6 (patch)
tree1f36d0f93dceb774e16dc46fd2b0803e83cacab6 /net
parenta9bfbc5cfc6d53f97795a749b313165452ce626e (diff)
downloadports-ee8465886da8a9ae95d93d6b710fd510b895f3e6.tar.gz
ports-ee8465886da8a9ae95d93d6b710fd510b895f3e6.zip
Adding port net/p5-Net-Address-IPv4-Local, A class for discovering the local system's IP addresAdding port net/p5-Net-Address-IPv4-Local, A class for discovering the local system's IP addresss
Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=163391
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-Address-IPv4-Local/Makefile31
-rw-r--r--net/p5-Net-Address-IPv4-Local/distinfo3
-rw-r--r--net/p5-Net-Address-IPv4-Local/pkg-descr6
-rw-r--r--net/p5-Net-Address-IPv4-Local/pkg-plist4
5 files changed, 45 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index f0d36c4f7eae..62d7bce1b243 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -400,6 +400,7 @@
SUBDIR += p5-IO-Socket-Multicast
SUBDIR += p5-IP-Country
SUBDIR += p5-Net
+ SUBDIR += p5-Net-Address-IPv4-Local
SUBDIR += p5-Net-Amazon
SUBDIR += p5-Net-BGP
SUBDIR += p5-Net-Blogger
diff --git a/net/p5-Net-Address-IPv4-Local/Makefile b/net/p5-Net-Address-IPv4-Local/Makefile
new file mode 100644
index 000000000000..955abf70ba45
--- /dev/null
+++ b/net/p5-Net-Address-IPv4-Local/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-Net-Address-IPv4-Local
+# Date created: 25 May 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Address-IPv4-Local
+PORTVERSION= 0.12
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= A class for discovering the local system's IP address
+
+BUILD_DEPENDS= ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= Net::Address::IPv4::Local.3
+
+PERL_MODBUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6.0 due to dependencies. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Net-Address-IPv4-Local/distinfo b/net/p5-Net-Address-IPv4-Local/distinfo
new file mode 100644
index 000000000000..090d7d2798e0
--- /dev/null
+++ b/net/p5-Net-Address-IPv4-Local/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-Address-IPv4-Local-0.12.tar.gz) = 42d7f4ea929727d83cdde41247f13e43
+SHA256 (Net-Address-IPv4-Local-0.12.tar.gz) = babb118198d224ff7df7d3953562f3b639ba3435f1a8188f1b6344b717535c5f
+SIZE (Net-Address-IPv4-Local-0.12.tar.gz) = 4848
diff --git a/net/p5-Net-Address-IPv4-Local/pkg-descr b/net/p5-Net-Address-IPv4-Local/pkg-descr
new file mode 100644
index 000000000000..bf6733e29009
--- /dev/null
+++ b/net/p5-Net-Address-IPv4-Local/pkg-descr
@@ -0,0 +1,6 @@
+Net::Address::IPv4::Local discovers the local system's IP address that
+would be used as the source address when contacting "the internet" or a
+certain specified remote IP address.
+
+WWW: http://search.cpan.org/dist/Net-Address-IPv4-Local
+Author: Julian Mehnle <julian@mehnle.net>
diff --git a/net/p5-Net-Address-IPv4-Local/pkg-plist b/net/p5-Net-Address-IPv4-Local/pkg-plist
new file mode 100644
index 000000000000..c3338d619875
--- /dev/null
+++ b/net/p5-Net-Address-IPv4-Local/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/Net/Address/IPv4/Local.pm
+@dirrm %%SITE_PERL%%/Net/Address/IPv4
+@dirrmtry %%SITE_PERL%%/Net/Address
+@dirrmtry %%SITE_PERL%%/Net