From 0b24903f9ef25690fb8e677fe14ed32de33fa61e Mon Sep 17 00:00:00 2001 From: lth Date: Thu, 15 Sep 2005 18:40:34 +0000 Subject: Add p5-POE-Component-Server-HTTPServer 0.9.2, POE Component to server HTTP requests. PR: ports/77980 Submitted by: Zach Thompson --- www/Makefile | 1 + www/p5-POE-Component-Server-HTTPServer/Makefile | 43 ++++++++++++++++++++++++ www/p5-POE-Component-Server-HTTPServer/distinfo | 2 ++ www/p5-POE-Component-Server-HTTPServer/pkg-descr | 9 +++++ www/p5-POE-Component-Server-HTTPServer/pkg-plist | 17 ++++++++++ 5 files changed, 72 insertions(+) create mode 100644 www/p5-POE-Component-Server-HTTPServer/Makefile create mode 100644 www/p5-POE-Component-Server-HTTPServer/distinfo create mode 100644 www/p5-POE-Component-Server-HTTPServer/pkg-descr create mode 100644 www/p5-POE-Component-Server-HTTPServer/pkg-plist diff --git a/www/Makefile b/www/Makefile index c6628fd259aa..c3179729ca6a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -588,6 +588,7 @@ SUBDIR += p5-POE-Component-Client-HTTP SUBDIR += p5-POE-Component-Client-UserAgent SUBDIR += p5-POE-Component-Server-HTTP + SUBDIR += p5-POE-Component-Server-HTTPServer SUBDIR += p5-ParallelUA SUBDIR += p5-PodToHTML SUBDIR += p5-Sledge diff --git a/www/p5-POE-Component-Server-HTTPServer/Makefile b/www/p5-POE-Component-Server-HTTPServer/Makefile new file mode 100644 index 000000000000..5fd3e43ec94c --- /dev/null +++ b/www/p5-POE-Component-Server-HTTPServer/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: POE-Component-Server-HTTPServer +# Date created: 23 Feb 2005 +# Whom: Zach Thompson +# +# $FreeBSD$ +# + +PORTNAME= POE-Component-Server-HTTPServer +PORTVERSION= 0.9.2 +CATEGORIES= www devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= POE +PKGNAMEPREFIX= p5- + +MAINTAINER= lin-chi@lastamericanempire.com +COMMENT= POE Component to server HTTP requests + +BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \ + ${SITE_PERL}/HTTP/Message.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/HTTP/Status.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/HTML/Template/HashWrapper.pm:${PORTSDIR}/www/p5-HTML-Template-HashWrapper \ + ${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= POE::Component::Server::HTTPServer.3 \ + POE::Component::Server::HTTPServer::BasicAuthenHandler.3 \ + POE::Component::Server::HTTPServer::Examples.3 \ + POE::Component::Server::HTTPServer::Handler.3 \ + POE::Component::Server::HTTPServer::NotFoundHandler.3 \ + POE::Component::Server::HTTPServer::ParameterParseHandler.3 \ + POE::Component::Server::HTTPServer::StaticHandler.3 \ + POE::Component::Server::HTTPServer::TemplateHandler.3 + +.include + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.x or later. Install lang/perl5.8 then try again +.endif + +.include diff --git a/www/p5-POE-Component-Server-HTTPServer/distinfo b/www/p5-POE-Component-Server-HTTPServer/distinfo new file mode 100644 index 000000000000..f256c47e7ee8 --- /dev/null +++ b/www/p5-POE-Component-Server-HTTPServer/distinfo @@ -0,0 +1,2 @@ +MD5 (POE-Component-Server-HTTPServer-0.9.2.tar.gz) = 766c06301099868fca4bbc8bd5cb358d +SIZE (POE-Component-Server-HTTPServer-0.9.2.tar.gz) = 15389 diff --git a/www/p5-POE-Component-Server-HTTPServer/pkg-descr b/www/p5-POE-Component-Server-HTTPServer/pkg-descr new file mode 100644 index 000000000000..d940cd92b53d --- /dev/null +++ b/www/p5-POE-Component-Server-HTTPServer/pkg-descr @@ -0,0 +1,9 @@ +POE component to serve HTTP requests with a slightly different +approach than POCo::Server::HTTP. Several useful built-in +handlers for URIs not found, basic authentication, and +parameter parsing. + +WWW: http://search.cpan.org/dist/POE-Component-Server-HTTPServer/ + +- Zach Thompson +lin-chi@lastamericanempire.com diff --git a/www/p5-POE-Component-Server-HTTPServer/pkg-plist b/www/p5-POE-Component-Server-HTTPServer/pkg-plist new file mode 100644 index 000000000000..b8454721da28 --- /dev/null +++ b/www/p5-POE-Component-Server-HTTPServer/pkg-plist @@ -0,0 +1,17 @@ +%%SITE_PERL%%/POE/Component/Server/HTTPServer.pm +%%SITE_PERL%%/POE/Component/Server/HTTPServer/BasicAuthenHandler.pm +%%SITE_PERL%%/POE/Component/Server/HTTPServer/Examples.pod +%%SITE_PERL%%/POE/Component/Server/HTTPServer/Handler.pm +%%SITE_PERL%%/POE/Component/Server/HTTPServer/NotFoundHandler.pm +%%SITE_PERL%%/POE/Component/Server/HTTPServer/ParameterParseHandler.pm +%%SITE_PERL%%/POE/Component/Server/HTTPServer/StaticHandler.pm +%%SITE_PERL%%/POE/Component/Server/HTTPServer/TemplateHandler.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Server/HTTPServer/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Server/HTTPServer +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Server 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true +@dirrm %%SITE_PERL%%/POE/Component/Server/HTTPServer +@unexec rmdir %D/%%SITE_PERL%%/POE/Component/Server 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/POE/Component 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true -- cgit