summaryrefslogtreecommitdiff
path: root/irc/p5-POE-Session-Irssi
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-08-09 05:33:56 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-08-09 05:33:56 +0000
commit66ff7ae90fe887172edaa018cd9d52c546e6bfdd (patch)
treeb17ba3179a1998e8cdc606432049f2ac76e33a3b /irc/p5-POE-Session-Irssi
parentA bridge that supports Glib's event loop from POE. (diff)
This POE::Session subclass helps you integrate POE and Irssi scripting. It
connects the signals and commands handlers you define as POE events with the Irssi machinery. WWW: http://search.cpan.org/dist/POE-Session-Irssi/ PR: ports/149337 Submitted by: Jase Thew <freebsd at beardz.net>
Notes
Notes: svn path=/head/; revision=258983
Diffstat (limited to 'irc/p5-POE-Session-Irssi')
-rw-r--r--irc/p5-POE-Session-Irssi/Makefile36
-rw-r--r--irc/p5-POE-Session-Irssi/distinfo3
-rw-r--r--irc/p5-POE-Session-Irssi/pkg-descr5
-rw-r--r--irc/p5-POE-Session-Irssi/pkg-plist9
4 files changed, 53 insertions, 0 deletions
diff --git a/irc/p5-POE-Session-Irssi/Makefile b/irc/p5-POE-Session-Irssi/Makefile
new file mode 100644
index 000000000000..3dc224a903d0
--- /dev/null
+++ b/irc/p5-POE-Session-Irssi/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-POE-Session-Irssi
+# Date created: Jul 29 2010
+# Whom: Jase Thew <freebsd@beardz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= POE-Session-Irssi
+PORTVERSION= 0.50
+CATEGORIES= irc perl5 devel
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= freebsd@beardz.net
+COMMENT= Emit POE events for Irssi signals
+
+BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
+ ${SITE_PERL}/Sub/Uplevel.pm:${PORTSDIR}/devel/p5-Sub-Uplevel \
+ p5-POE-Loop-Glib>=0.036:${PORTSDIR}/devel/p5-POE-Loop-Glib
+RUN_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
+ ${SITE_PERL}/Sub/Uplevel.pm:${PORTSDIR}/devel/p5-Sub-Uplevel \
+ p5-POE-Loop-Glib>=0.036:${PORTSDIR}/devel/p5-POE-Loop-Glib \
+ irssi:${PORTSDIR}/irc/irssi
+
+PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
+PERL_CONFIGURE= yes
+
+MAN3= POE::Session::Irssi.3
+
+post-install:
+.ifndef(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/samples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/irc/p5-POE-Session-Irssi/distinfo b/irc/p5-POE-Session-Irssi/distinfo
new file mode 100644
index 000000000000..63235e3a22a9
--- /dev/null
+++ b/irc/p5-POE-Session-Irssi/distinfo
@@ -0,0 +1,3 @@
+MD5 (POE-Session-Irssi-0.50.tar.gz) = cc04fd10e23218daa29e5eae8ae4d252
+SHA256 (POE-Session-Irssi-0.50.tar.gz) = 3d2328946cf8eee7a4d609a4d3c9934c58ea5dffbe4d6573ba203c0945e4ddea
+SIZE (POE-Session-Irssi-0.50.tar.gz) = 22924
diff --git a/irc/p5-POE-Session-Irssi/pkg-descr b/irc/p5-POE-Session-Irssi/pkg-descr
new file mode 100644
index 000000000000..76acd7ca5bbe
--- /dev/null
+++ b/irc/p5-POE-Session-Irssi/pkg-descr
@@ -0,0 +1,5 @@
+This POE::Session subclass helps you integrate POE and Irssi scripting. It
+connects the signals and commands handlers you define as POE events with the
+Irssi machinery.
+
+WWW: http://search.cpan.org/dist/POE-Session-Irssi/
diff --git a/irc/p5-POE-Session-Irssi/pkg-plist b/irc/p5-POE-Session-Irssi/pkg-plist
new file mode 100644
index 000000000000..ad80cd61e29a
--- /dev/null
+++ b/irc/p5-POE-Session-Irssi/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/POE/Session/Irssi.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Session/Irssi/.packlist
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clean-backlog.pl
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Session/Irssi
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Session
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE
+@dirrmtry %%SITE_PERL%%/POE/Session
+@dirrmtry %%SITE_PERL%%/POE