aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-08-09 13:33:56 +0800
committermiwi <miwi@FreeBSD.org>2010-08-09 13:33:56 +0800
commitfcf60706a3a0487629f3ff8b29dc02adc4d025fd (patch)
treedfa78ac062f458683cfbe542bb8b4543bb0645b6
parent72ad4d970aeea772af194c48db8a73a9fef17cfe (diff)
downloadfreebsd-ports-gnome-fcf60706a3a0487629f3ff8b29dc02adc4d025fd.tar.gz
freebsd-ports-gnome-fcf60706a3a0487629f3ff8b29dc02adc4d025fd.tar.zst
freebsd-ports-gnome-fcf60706a3a0487629f3ff8b29dc02adc4d025fd.zip
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>
-rw-r--r--irc/Makefile1
-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
5 files changed, 54 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index 1bdcf2e3a130..a92a5c4ea7b8 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -95,6 +95,7 @@
SUBDIR += p5-POE-Component-IRC-Plugin-RSS-Headlines
SUBDIR += p5-POE-Component-Server-IRC
SUBDIR += p5-POE-Filter-IRCD
+ SUBDIR += p5-POE-Session-Irssi
SUBDIR += p5-Parse-IRC
SUBDIR += party
SUBDIR += pear-Net_SmartIRC
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