diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2005-12-27 10:55:50 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2005-12-27 10:55:50 +0000 |
commit | ce08089229244ab6984b168f7825751a67b35744 (patch) | |
tree | f5a156ca1ef3df9b266b2fb1426d82d80eb94713 /www/p5-HTTP-Server-Simple-Recorder | |
parent | f4ef5d26c73dc1f092d778bc68d46c387036c48f (diff) | |
download | ports-ce08089229244ab6984b168f7825751a67b35744.tar.gz ports-ce08089229244ab6984b168f7825751a67b35744.zip |
Notes
Diffstat (limited to 'www/p5-HTTP-Server-Simple-Recorder')
-rw-r--r-- | www/p5-HTTP-Server-Simple-Recorder/Makefile | 33 | ||||
-rw-r--r-- | www/p5-HTTP-Server-Simple-Recorder/distinfo | 3 | ||||
-rw-r--r-- | www/p5-HTTP-Server-Simple-Recorder/pkg-descr | 8 | ||||
-rw-r--r-- | www/p5-HTTP-Server-Simple-Recorder/pkg-plist | 9 |
4 files changed, 53 insertions, 0 deletions
diff --git a/www/p5-HTTP-Server-Simple-Recorder/Makefile b/www/p5-HTTP-Server-Simple-Recorder/Makefile new file mode 100644 index 000000000000..6ec0ffb01aa3 --- /dev/null +++ b/www/p5-HTTP-Server-Simple-Recorder/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: www/p5-HTTP-Server-Simple-Recorder +# Date created: 27 December 2005 +# Whom: Anton Berezin <tobez@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= HTTP-Server-Simple-Recorder +PORTVERSION= 0.02 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= HTTP +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= Mixin to record HTTP::Server::Simple's sockets + +BUILD_DEPENDS= ${SITE_PERL}/HTTP/Server/Simple.pm:${PORTSDIR}/www/p5-HTTP-Server-Simple \ + ${SITE_PERL}/Test/HTTP/Server/Simple.pm:${PORTSDIR}/www/p5-Test-HTTP-Server-Simple \ + ${SITE_PERL}/IO/Tee.pm:${PORTSDIR}/devel/p5-IO-Tee +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= HTTP::Server::Simple::Recorder.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-HTTP-Server-Simple-Recorder/distinfo b/www/p5-HTTP-Server-Simple-Recorder/distinfo new file mode 100644 index 000000000000..f17fb7027eb1 --- /dev/null +++ b/www/p5-HTTP-Server-Simple-Recorder/distinfo @@ -0,0 +1,3 @@ +MD5 (HTTP-Server-Simple-Recorder-0.02.tar.gz) = 67375dfc286a5cc6d38355a1095dd559 +SHA256 (HTTP-Server-Simple-Recorder-0.02.tar.gz) = a9cfb65c224b76a318851c6ef90a4a8423accd39f5fc71a3c3f649ebe7a71b83 +SIZE (HTTP-Server-Simple-Recorder-0.02.tar.gz) = 10883 diff --git a/www/p5-HTTP-Server-Simple-Recorder/pkg-descr b/www/p5-HTTP-Server-Simple-Recorder/pkg-descr new file mode 100644 index 000000000000..7ea35d71f6d1 --- /dev/null +++ b/www/p5-HTTP-Server-Simple-Recorder/pkg-descr @@ -0,0 +1,8 @@ +This module allows you to record all HTTP communication between an +HTTP::Server::Simple-derived server and its clients. It is a mixin, so +it doesn't itself subclass HTTP::Server::Simple; you need to subclass +from both HTTP::Server::Simple::Recorder and an actual +HTTP::Server::Simple subclass, and HTTP::Server::Simple::Recorder should +be listed first. + +WWW: http://search.cpan.org/dist/HTTP-Server-Simple-Recorder/ diff --git a/www/p5-HTTP-Server-Simple-Recorder/pkg-plist b/www/p5-HTTP-Server-Simple-Recorder/pkg-plist new file mode 100644 index 000000000000..31650c3f76b5 --- /dev/null +++ b/www/p5-HTTP-Server-Simple-Recorder/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/HTTP/Server/Simple/Recorder.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple/Recorder/.packlist +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple/Recorder 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server/Simple 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Server 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTTP/Server/Simple 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTTP/Server 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTTP 2>/dev/null || true |