From 8e4427a07296b80ae0f386b88496afb691d66031 Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 1 Sep 2008 09:55:34 +0000 Subject: [PATCH] import p5-POE-Component-Pluggable 1.10 POE::Component::Pluggable is a base class for creating plugin enabled POE Components. It is a generic port of POE::Component::IRC's plugin system. If your component dispatches events to registered POE sessions, then POE::Component::Pluggable may be a good fit for you. Users of your component can then load plugins using the plugin methods provided to handle events generated by the component. --- devel/p5-POE-Component-Pluggable/Makefile | 24 ++++++++++++++++++++++ devel/p5-POE-Component-Pluggable/distinfo | 5 +++++ devel/p5-POE-Component-Pluggable/pkg/DESCR | 9 ++++++++ devel/p5-POE-Component-Pluggable/pkg/PLIST | 10 +++++++++ 4 files changed, 48 insertions(+) create mode 100644 devel/p5-POE-Component-Pluggable/Makefile create mode 100644 devel/p5-POE-Component-Pluggable/distinfo create mode 100644 devel/p5-POE-Component-Pluggable/pkg/DESCR create mode 100644 devel/p5-POE-Component-Pluggable/pkg/PLIST diff --git a/devel/p5-POE-Component-Pluggable/Makefile b/devel/p5-POE-Component-Pluggable/Makefile new file mode 100644 index 00000000000..e04dfbbf82a --- /dev/null +++ b/devel/p5-POE-Component-Pluggable/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/09/01 09:55:34 jasper Exp $ + +COMMENT= base class for creating plugin enabled POE Components + +DISTNAME= POE-Component-Pluggable-1.10 +CATEGORIES= devel + +# perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MODULES= cpan + +RUN_DEPENDS= :p5-POE->=1.0002:devel/p5-POE + +EG_DIR= ${PREFIX}/share/examples/p5-POE-Component-Pluggable + +post-install: + ${INSTALL_DATA_DIR} ${EG_DIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${EG_DIR} + +.include diff --git a/devel/p5-POE-Component-Pluggable/distinfo b/devel/p5-POE-Component-Pluggable/distinfo new file mode 100644 index 00000000000..c3e4f7b84df --- /dev/null +++ b/devel/p5-POE-Component-Pluggable/distinfo @@ -0,0 +1,5 @@ +MD5 (POE-Component-Pluggable-1.10.tar.gz) = u1NoWGgEdzjEsHILPMzgyw== +RMD160 (POE-Component-Pluggable-1.10.tar.gz) = Xg2I9mhmYDceNyUlW2XzBjyziOY= +SHA1 (POE-Component-Pluggable-1.10.tar.gz) = m2YM04uULGd46eDMzpVT0BbmTiw= +SHA256 (POE-Component-Pluggable-1.10.tar.gz) = kEEU9ZcVb50hFhX8uKg29GsmKgKAA/NIjzqdVBgW998= +SIZE (POE-Component-Pluggable-1.10.tar.gz) = 29023 diff --git a/devel/p5-POE-Component-Pluggable/pkg/DESCR b/devel/p5-POE-Component-Pluggable/pkg/DESCR new file mode 100644 index 00000000000..7270f7be7dd --- /dev/null +++ b/devel/p5-POE-Component-Pluggable/pkg/DESCR @@ -0,0 +1,9 @@ +POE::Component::Pluggable is a base class for creating plugin enabled +POE Components. It is a generic port of POE::Component::IRC's plugin +system. + +If your component dispatches events to registered POE sessions, then +POE::Component::Pluggable may be a good fit for you. + +Users of your component can then load plugins using the plugin methods +provided to handle events generated by the component. diff --git a/devel/p5-POE-Component-Pluggable/pkg/PLIST b/devel/p5-POE-Component-Pluggable/pkg/PLIST new file mode 100644 index 00000000000..0558c75e5eb --- /dev/null +++ b/devel/p5-POE-Component-Pluggable/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/09/01 09:55:34 jasper Exp $ +${P5SITE}/POE/Component/Pluggable/ +${P5SITE}/POE/Component/Pluggable.pm +${P5SITE}/POE/Component/Pluggable/Constants.pm +${P5SITE}/POE/Component/Pluggable/Pipeline.pm +@man man/man3p/POE::Component::Pluggable.3p +@man man/man3p/POE::Component::Pluggable::Constants.3p +@man man/man3p/POE::Component::Pluggable::Pipeline.3p +share/examples/p5-POE-Component-Pluggable/ +share/examples/p5-POE-Component-Pluggable/synopsis.pl