freebsd-ports/www/p5-Catalyst-Plugin-Log-Handler/Makefile
Philip M. Gollucci cd6430827a If your Catalyst project logs many messages, logging via standard error to
Apache's error log is not very clean: The log messages are mixed with
other web applications' noise; and especially if you use mod_fastcgi,
every line will be prepended with a long prefix.

An alternative is logging to a file. But then you have to make sure that
multiple processes won't corrupt the log file. The module Log::Handler
by Jonny Schulz does exactly this, because it supports message-wise flocking.

This module is a wrapper for said Log::Handler.
2011-10-27 22:32:47 +00:00

30 lines
791 B
Makefile

# Ports collection makefile for: p5-Catalyst-Log-Handler
# Date created: October 27, 2011
# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
#
# $FreeBSD$
#
PORTNAME= Catalyst-Plugin-Log-Handler
PORTVERSION= 0.08
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Catalyst log handler
BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Log-Handler>=0:${PORTSDIR}/devel/p5-Log-Handler \
p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
PERL_MODBUILD= yes
MAN3= Catalyst::Plugin::Log::Handler.3
PLIST_FILES= %%SITE_PERL%%/Catalyst/Plugin/Log/Handler.pm
PLIST_DIRS= %%SITE_PERL%%/Catalyst/Plugin/Log \
%%SITE_PERL%%/Catalyst/Plugin \
%%SITE_PERL%%/Catalyst
.include <bsd.port.mk>