diff options
author | cjs <cjs@pkgsrc.org> | 2002-03-18 07:49:37 +0000 |
---|---|---|
committer | cjs <cjs@pkgsrc.org> | 2002-03-18 07:49:37 +0000 |
commit | 441d5bc2acbc8d3594937d52f62d2a9aa6fffc6a (patch) | |
tree | 7991b9032d70c8f3132b13ce4cb9f40bf5fdbff2 /devel | |
parent | 40b725a630861789ba6e653694a9e9302556ff3b (diff) | |
download | pkgsrc-441d5bc2acbc8d3594937d52f62d2a9aa6fffc6a.tar.gz |
Configure Log::Dispatch with a config file, a la Java's log4j.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Log-Dispatch-Config/DESCR | 7 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch-Config/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch-Config/PLIST | 1 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch-Config/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch-Config/requirements | 4 |
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/p5-Log-Dispatch-Config/DESCR b/devel/p5-Log-Dispatch-Config/DESCR new file mode 100644 index 00000000000..7a81edfd069 --- /dev/null +++ b/devel/p5-Log-Dispatch-Config/DESCR @@ -0,0 +1,7 @@ +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 similar to the way that Java log4j works. + +What you do is call "configure" method once in somewhere (like +"startup.pl" in mod_perl), then you can get configured dispatcher +instance via "Log::Dispatch::Config->instance". diff --git a/devel/p5-Log-Dispatch-Config/Makefile b/devel/p5-Log-Dispatch-Config/Makefile new file mode 100644 index 00000000000..307825b878d --- /dev/null +++ b/devel/p5-Log-Dispatch-Config/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/18 07:49:38 cjs Exp $ + +DISTNAME= Log-Dispatch-Config-0.12 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5ldi +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/} + +MAINTAINER= packages@netbsd.org +COMMENT= Configure Log::Dispatch with a config file, a la Java's log4j + +DEPENDS+= p5-Test-Harness>=2.01:../../devel/p5-Test-Harness +DEPENDS+= p5-Test-Simple>=0.41:../../devel/p5-Test-Simple +DEPENDS+= p5-IO-stringy>=2.108:../../devel/p5-IO-stringy +DEPENDS+= p5-AppConfig>=1.52:../../devel/p5-AppConfig +DEPENDS+= p5-Log-Dispatch>=1.79:../../devel/p5-Log-Dispatch + +USE_BUILDLINK_ONLY= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Log/Dispatch/Config/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Log-Dispatch-Config/PLIST b/devel/p5-Log-Dispatch-Config/PLIST new file mode 100644 index 00000000000..8daa8d20e89 --- /dev/null +++ b/devel/p5-Log-Dispatch-Config/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/18 07:49:38 cjs Exp $ diff --git a/devel/p5-Log-Dispatch-Config/distinfo b/devel/p5-Log-Dispatch-Config/distinfo new file mode 100644 index 00000000000..c6882293243 --- /dev/null +++ b/devel/p5-Log-Dispatch-Config/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/03/18 07:49:37 cjs Exp $ + +SHA1 (Log-Dispatch-Config-0.12.tar.gz) = fdb24d7fec6231e4dc2842c94c38c710cd20a06a +Size (Log-Dispatch-Config-0.12.tar.gz) = 10899 bytes diff --git a/devel/p5-Log-Dispatch-Config/requirements b/devel/p5-Log-Dispatch-Config/requirements new file mode 100644 index 00000000000..850b3a9338c --- /dev/null +++ b/devel/p5-Log-Dispatch-Config/requirements @@ -0,0 +1,4 @@ +p5-Test-Harness-2.01 perl5 module for testing +p5-Test-Simple-0.41 perl5 module with a simple framework for writing tests +p5-IO-stringy-2.108 Perl class for I/O on in-core objects like strings and arrays +p5-AppConfig-1.52 perl5 module for parsing config files and command line arguments |