From 9a5ed8fda45098d7d3e16c914fa3b3762ff8118c Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 5 Feb 2003 00:07:45 +0000 Subject: [PATCH] NEW PORT net/p5-Net-Services Constructs a hash from the /etc/services file and provides a tied interface to it that takes care of things like the protocol name. PR: ports/44441 Submitted by: Joseph Scott --- net/Makefile | 1 + net/p5-Net-Services/Makefile | 22 ++++++++++++++++++++++ net/p5-Net-Services/distinfo | 1 + net/p5-Net-Services/pkg-comment | 1 + net/p5-Net-Services/pkg-descr | 4 ++++ net/p5-Net-Services/pkg-plist | 5 +++++ 6 files changed, 34 insertions(+) create mode 100644 net/p5-Net-Services/Makefile create mode 100644 net/p5-Net-Services/distinfo create mode 100644 net/p5-Net-Services/pkg-comment create mode 100644 net/p5-Net-Services/pkg-descr create mode 100644 net/p5-Net-Services/pkg-plist diff --git a/net/Makefile b/net/Makefile index 0277136901c9..f19e1bb13b09 100644 --- a/net/Makefile +++ b/net/Makefile @@ -407,6 +407,7 @@ SUBDIR += p5-Net-SSH SUBDIR += p5-Net-SSH-Perl SUBDIR += p5-Net-Server + SUBDIR += p5-Net-Services SUBDIR += p5-Net-TCLink SUBDIR += p5-Net-Telnet SUBDIR += p5-Net-Traceroute diff --git a/net/p5-Net-Services/Makefile b/net/p5-Net-Services/Makefile new file mode 100644 index 000000000000..c983abd2c4ad --- /dev/null +++ b/net/p5-Net-Services/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Net-Services +# Date created: Wed 23 Oct 2002 +# Whom: Joseph Scott +# +# $FreeBSD$ +# + +PORTNAME= Net-Services +PORTVERSION= 1.3 +CATEGORIES= net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Net +PKGNAMEPREFIX= p5- + +MAINTAINER= joseph@randomnetworks.com + +PERL_CONFIGURE= YES + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Net::Services.3 + +.include diff --git a/net/p5-Net-Services/distinfo b/net/p5-Net-Services/distinfo new file mode 100644 index 000000000000..646d3a421cb2 --- /dev/null +++ b/net/p5-Net-Services/distinfo @@ -0,0 +1 @@ +MD5 (Net-Services-1.3.tar.gz) = 0506f0be7c927a95203d67416c05bdea diff --git a/net/p5-Net-Services/pkg-comment b/net/p5-Net-Services/pkg-comment new file mode 100644 index 000000000000..a8ee15f154e3 --- /dev/null +++ b/net/p5-Net-Services/pkg-comment @@ -0,0 +1 @@ +Provides a tied interface to the /etc/services file diff --git a/net/p5-Net-Services/pkg-descr b/net/p5-Net-Services/pkg-descr new file mode 100644 index 000000000000..568f7dae7878 --- /dev/null +++ b/net/p5-Net-Services/pkg-descr @@ -0,0 +1,4 @@ +Constructs a hash from the /etc/services file and provides a tied interface +to it that takes care of things like the protocol name. + +WWW: http://search.cpan.org/search?module=Net::Services diff --git a/net/p5-Net-Services/pkg-plist b/net/p5-Net-Services/pkg-plist new file mode 100644 index 000000000000..c2f7c61b1957 --- /dev/null +++ b/net/p5-Net-Services/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/Net/Services.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Services/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Services +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true