1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

New port: www/p5-Catalyst-Plugin-LogWarnings, Log perl warnings to your Catalyst log object

This commit is contained in:
Lars Balker Rasmussen 2007-04-06 08:24:14 +00:00
parent 33129a1031
commit 949043e84a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189354
5 changed files with 52 additions and 0 deletions

View File

@ -603,6 +603,7 @@
SUBDIR += p5-Catalyst-Plugin-FormValidator-Simple
SUBDIR += p5-Catalyst-Plugin-HTML-Widget
SUBDIR += p5-Catalyst-Plugin-I18N
SUBDIR += p5-Catalyst-Plugin-LogWarnings
SUBDIR += p5-Catalyst-Plugin-PageCache
SUBDIR += p5-Catalyst-Plugin-Params-Nested
SUBDIR += p5-Catalyst-Plugin-Pluggable

View File

@ -0,0 +1,31 @@
# Ports collection makefile for: p5-Catalyst-Plugin-LogWarnings
# Date created: Apr 6, 2007
# Whom: lbr@freebsd.org
#
# $FreeBSD$
#
PORTNAME= Catalyst-Plugin-LogWarnings
PORTVERSION= 0.02
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Catalyst
PKGNAMEPREFIX= p5-
MAINTAINER= lbr@FreeBSD.org
COMMENT= Log perl warnings to your Catalyst log object
BUILD_DEPENDS= p5-Catalyst-Runtime>=5.7001:${PORTSDIR}/www/p5-Catalyst-Runtime \
p5-Class-C3>=0:${PORTSDIR}/devel/p5-Class-C3 \
p5-Catalyst-Plugin-C3>=0:${PORTSDIR}/www/p5-Catalyst-Plugin-C3
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Catalyst::Plugin::LogWarnings.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = 9eb2457f9eeb99b607d31699f5600ef5
SHA256 (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = 9124ef948e011ee2c7b07182c7b0715b472dd247aa945d6ead1aae91b1cfe766
SIZE (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = 4152

View File

@ -0,0 +1,9 @@
In MyApp.pm:
use Catalyst qw/LogWarnings/;
After that, any warn statement that's executed during action
processing is sent to the log $c->log as a warning (instead of
being dumped to STDERR).
WWW: http://search.cpan.org/dist/Catalyst-Plugin-LogWarnings/

View File

@ -0,0 +1,8 @@
%%SITE_PERL%%/Catalyst/Plugin/LogWarnings.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/LogWarnings/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/LogWarnings
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst
@dirrmtry %%SITE_PERL%%/Catalyst/Plugin/LogWarnings
@dirrmtry %%SITE_PERL%%/Catalyst/Plugin
@dirrmtry %%SITE_PERL%%/Catalyst