freebsd-ports/devel/p5-Log-Log4perl-Layout-JSON/Makefile
Sunpoet Po-Chuan Hsieh 7b895b8652 Add p5-Log-Log4perl-Layout-JSON 0.56
This class implements a "Log::Log4perl" layout format, similar to
Log::Log4perl::Layout::PatternLayout except that the output is a JSON hash.
The JSON hash is ASCII encoded, with no newlines or other whitespace, and is
suitable for output, via Log::Log4perl appenders, to files and syslog etc.
The JSON hash can, optionally, be UTF-8 encoded.
Contextual data in the Log::Log4perl::MDC hash can be included.

WWW: https://metacpan.org/release/Log-Log4perl

PR:		232444
Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com>
2018-11-27 17:11:39 +00:00

29 lines
700 B
Makefile

# Created by: Sergei Vyshenski <svysh.fbsd@gmail.com>
# $FreeBSD$
PORTNAME= Log-Log4perl-Layout-JSON
PORTVERSION= 0.56
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= svysh.fbsd@gmail.com
COMMENT= Layout a log message as a JSON hash, including MDC data
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Class-Tiny>=0:devel/p5-Class-Tiny \
p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
p5-Log-Log4perl>=0:devel/p5-Log-Log4perl
TEST_DEPENDS= p5-Test-Most>=0:devel/p5-Test-Most \
p5-Test-Warnings>=0:devel/p5-Test-Warnings
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>