From 60bd30c1ed801067716049ef649f565736629bd2 Mon Sep 17 00:00:00 2001
From: Jun Kuriyama <kuriyama@FreeBSD.org>
Date: Wed, 23 Dec 2009 15:36:14 +0000
Subject: [PATCH] Plack Server implementation for POE.

WWW: http://search.cpan.org/dist/Plack-Server-POE/
---
 www/Makefile                      |  1 +
 www/p5-Plack-Server-POE/Makefile  | 28 ++++++++++++++++++++++++++++
 www/p5-Plack-Server-POE/distinfo  |  3 +++
 www/p5-Plack-Server-POE/pkg-descr |  3 +++
 www/p5-Plack-Server-POE/pkg-plist |  7 +++++++
 5 files changed, 42 insertions(+)
 create mode 100644 www/p5-Plack-Server-POE/Makefile
 create mode 100644 www/p5-Plack-Server-POE/distinfo
 create mode 100644 www/p5-Plack-Server-POE/pkg-descr
 create mode 100644 www/p5-Plack-Server-POE/pkg-plist

diff --git a/www/Makefile b/www/Makefile
index fe1bad36f1e7..23db840b0d8a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1045,6 +1045,7 @@
     SUBDIR += p5-Plack-Request
     SUBDIR += p5-Plack-Server-AnyEvent
     SUBDIR += p5-Plack-Server-Coro
+    SUBDIR += p5-Plack-Server-POE
     SUBDIR += p5-Plack-Server-ReverseHTTP
     SUBDIR += p5-Plack-Server-ServerSimple
     SUBDIR += p5-PodToHTML
diff --git a/www/p5-Plack-Server-POE/Makefile b/www/p5-Plack-Server-POE/Makefile
new file mode 100644
index 000000000000..32124bb595e4
--- /dev/null
+++ b/www/p5-Plack-Server-POE/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for:	Plack::Server::POE
+# Date created:		23 Dec 2009
+# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	Plack-Server-POE
+PORTVERSION=	0.4
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	kuriyama@FreeBSD.org
+COMMENT=	Perl extension for Plack Server implementation for POE
+
+RUN_DEPENDS=	\
+	p5-Plack>0:${PORTSDIR}/www/p5-Plack \
+	p5-libwww>0:${PORTSDIR}/www/p5-libwww \
+	p5-POE>0:${PORTSDIR}/devel/p5-POE \
+	p5-POE-Filter-HTTP-Parser>0:${PORTSDIR}/www/p5-POE-Filter-HTTP-Parser
+BUILD_DEPENDS=	${RUN_DEPENDS}
+
+PERL_CONFIGURE=	yes
+
+MAN3=	Plack::Server::POE.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-Plack-Server-POE/distinfo b/www/p5-Plack-Server-POE/distinfo
new file mode 100644
index 000000000000..a56527e28aca
--- /dev/null
+++ b/www/p5-Plack-Server-POE/distinfo
@@ -0,0 +1,3 @@
+MD5 (Plack-Server-POE-0.4.tar.gz) = 73304957687cba625da464ba79d7c704
+SHA256 (Plack-Server-POE-0.4.tar.gz) = efd215b63410cfe9d3a512b99a542f7a0db65b118eff98334d80e2b90170fa84
+SIZE (Plack-Server-POE-0.4.tar.gz) = 23815
diff --git a/www/p5-Plack-Server-POE/pkg-descr b/www/p5-Plack-Server-POE/pkg-descr
new file mode 100644
index 000000000000..55d55dbb418e
--- /dev/null
+++ b/www/p5-Plack-Server-POE/pkg-descr
@@ -0,0 +1,3 @@
+Plack Server implementation for POE.
+
+WWW: http://search.cpan.org/dist/Plack-Server-POE/
diff --git a/www/p5-Plack-Server-POE/pkg-plist b/www/p5-Plack-Server-POE/pkg-plist
new file mode 100644
index 000000000000..cc2f9778cc2b
--- /dev/null
+++ b/www/p5-Plack-Server-POE/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Server/POE/.packlist
+%%SITE_PERL%%/Plack/Server/POE.pm
+@dirrmtry %%SITE_PERL%%/Plack/Server
+@dirrmtry %%SITE_PERL%%/Plack
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Server/POE
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Server
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack