summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcjs <cjs>2002-03-18 07:49:37 +0000
committercjs <cjs>2002-03-18 07:49:37 +0000
commit73f3aa92923dfcb13bd28fc7b4079ab85882aaaa (patch)
tree7991b9032d70c8f3132b13ce4cb9f40bf5fdbff2 /devel
parentbc23578df69751c4146bed32e68a3c2d3031bb88 (diff)
downloadpkgsrc-73f3aa92923dfcb13bd28fc7b4079ab85882aaaa.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/DESCR7
-rw-r--r--devel/p5-Log-Dispatch-Config/Makefile25
-rw-r--r--devel/p5-Log-Dispatch-Config/PLIST1
-rw-r--r--devel/p5-Log-Dispatch-Config/distinfo4
-rw-r--r--devel/p5-Log-Dispatch-Config/requirements4
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