diff options
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-POE-Component-ControlPort/Makefile | 44 | ||||
-rw-r--r-- | net/p5-POE-Component-ControlPort/distinfo | 3 | ||||
-rw-r--r-- | net/p5-POE-Component-ControlPort/pkg-descr | 7 | ||||
-rw-r--r-- | net/p5-POE-Component-ControlPort/pkg-plist | 7 |
5 files changed, 62 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 8c80e6552e8b..ad545c20ef2b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -438,6 +438,7 @@ SUBDIR += p5-OAI-Harvester SUBDIR += p5-POE-Component-Client-Keepalive SUBDIR += p5-POE-Component-Client-Ping + SUBDIR += p5-POE-Component-ControlPort SUBDIR += p5-POE-Component-Jabber SUBDIR += p5-POE-Component-Pcap SUBDIR += p5-POE-Component-RRDTool diff --git a/net/p5-POE-Component-ControlPort/Makefile b/net/p5-POE-Component-ControlPort/Makefile new file mode 100644 index 000000000000..ac3938bd881a --- /dev/null +++ b/net/p5-POE-Component-ControlPort/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: net/p5-POE-Component-ControlPort +# Date created: 05 February 2006 +# Whom: Zach Thompson <hideo@lastamericanempire.com> +# +# $FreeBSD$ +# + +PORTNAME= POE-Component-ControlPort +PORTVERSION= 0.01 +CATEGORIES= net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= POE +PKGNAMEPREFIX= p5- + +MAINTAINER= hideo@lastamericanempire.com +COMMENT= Network control port for POE applications + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \ + ${SITE_PERL}/${PERL_ARCH}/Authen/Libwrap.pm:${PORTSDIR}/security/p5-Authen-Libwrap \ + ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= POE::Component::ControlPort.3 \ + POE::Component::ControlPort::Command.3 \ + POE::Component::ControlPort::DefaultCommands.3 + +.include <bsd.port.pre.mk> + +post-extract: + @${PERL} -0pi -e 's/my \$$prompt.+(my \$$ret = )(?-s).+/$${1}0;/so' ${WRKSRC}/Makefile.PL + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 's/^our (\W\w+);/use vars q($$1);/o;' \ + -e 's/^our\s+(\W\w+)(?!;)/use vars q($$1); $$1/o;' \ + -e 'undef $$_ if /^\s*(no|use) warnings/o;' \ + ${WRKSRC}/lib/POE/Component/ControlPort.pm \ + ${WRKSRC}/lib/POE/Component/ControlPort/DefaultCommands.pm \ + ${WRKSRC}/lib/POE/Component/ControlPort/Command.pm +.endif + +.include <bsd.port.post.mk> diff --git a/net/p5-POE-Component-ControlPort/distinfo b/net/p5-POE-Component-ControlPort/distinfo new file mode 100644 index 000000000000..42aece67fdf5 --- /dev/null +++ b/net/p5-POE-Component-ControlPort/distinfo @@ -0,0 +1,3 @@ +MD5 (POE-Component-ControlPort-0.01.tar.gz) = 7dcbb514606af24e8453031110a6e763 +SHA256 (POE-Component-ControlPort-0.01.tar.gz) = 652bd2b358ffac2d4e4fa729770397f646ce2730d829eef5220e9cab1edab1fb +SIZE (POE-Component-ControlPort-0.01.tar.gz) = 12182 diff --git a/net/p5-POE-Component-ControlPort/pkg-descr b/net/p5-POE-Component-ControlPort/pkg-descr new file mode 100644 index 000000000000..b3fd2c630eec --- /dev/null +++ b/net/p5-POE-Component-ControlPort/pkg-descr @@ -0,0 +1,7 @@ +When building network applications, it is often helpful to have +a network accessible control and diagnostic interface. This module +provides such an interface for POE applications. By default, it +provides a fairly limited set of commands but is easily extended +to provide whatever command set you require. + +WWW: http://search.cpan.org/dist/POE-Component-ControlPort diff --git a/net/p5-POE-Component-ControlPort/pkg-plist b/net/p5-POE-Component-ControlPort/pkg-plist new file mode 100644 index 000000000000..2f2217ad80f9 --- /dev/null +++ b/net/p5-POE-Component-ControlPort/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/POE/Component/ControlPort.pm +%%SITE_PERL%%/POE/Component/ControlPort/Command.pm +%%SITE_PERL%%/POE/Component/ControlPort/DefaultCommands.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/ControlPort/.packlist +@dirrm %%SITE_PERL%%/POE/Component/ControlPort +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/ControlPort +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component |