Add p5-Log-Dispatch-Config, a log4j equivalent for Perl.

This commit is contained in:
Akinori MUSHA 2003-02-26 20:58:20 +00:00
parent d5476df205
commit 30fdc826cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76518
5 changed files with 52 additions and 0 deletions

View file

@ -560,6 +560,7 @@
SUBDIR += p5-Log-Agent
SUBDIR += p5-Log-Agent-Logger
SUBDIR += p5-Log-Dispatch
SUBDIR += p5-Log-Dispatch-Config
SUBDIR += p5-Log-Log4perl
SUBDIR += p5-Log-TraceMessages
SUBDIR += p5-Mac-FileSpec-Unixish

View file

@ -0,0 +1,36 @@
# New ports collection makefile for: devel/p5-Log-Dispatch-Config
# Date created: 27 March 2003
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= Log-Dispatch-Config
PORTVERSION= 1.01
CATEGORIES= devel sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Log
PKGNAMEPREFIX= p5-
MAINTAINER= knu@FreeBSD.org
COMMENT= A log4j equivalent for Perl
BUILD_DEPENDS= ${PM_DEPENDS}
RUN_DEPENDS= ${PM_DEPENDS}
PM_DEPENDS= ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch
PM_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PM_DEPENDS+= ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig
PM_DEPENDS+= ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy
PM_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
PERL_CONFIGURE= yes
#MAN3= Log::Dispatch::Config.3 \
# Log::Dispatch::Configurator.3 \
# Log::Dispatch::Configurator::AppConfig.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (Log-Dispatch-Config-1.01.tar.gz) = 9d9b7b5d3426819e6b6e14e91b867242

View file

@ -0,0 +1,4 @@
Log::Dispatch::Config is a subclass of Log::Dispatch and provides a
way to configure Log::Dispatch object with configulation file
(default, in AppConfig format). This is almost a log4j equivalent for
Perl, not with all API compatibility though.

View file

@ -0,0 +1,10 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Log/Dispatch/Config/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Log/Dispatch/Configurator.pm
lib/perl5/site_perl/%%PERL_VER%%/Log/Dispatch/Config.pm
lib/perl5/site_perl/%%PERL_VER%%/Log/Dispatch/Configurator/AppConfig.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Log/Dispatch/Config
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Log/Dispatch 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Log 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Log/Dispatch/Configurator 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Log/Dispatch 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Log 2>/dev/null || true