summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-07-06 10:14:33 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-07-06 10:14:33 +0000
commit0cb595fdf91604dc747a1bfaf47bdd1a6bcd7bfc (patch)
tree7de91bcfe59bc6552d71a24f9a5b3c647b887996 /devel
parentThe previous update changed version from 0.09d to 0.1. (diff)
Add p5-Log-Dispatch-FileRotate 1.10,
a Log::Dispatch plug-in for files that archive/rotate themselves. PR: 53985 Submitted by: Lars Thegler <lars@thegler.dk>
Notes
Notes: svn path=/head/; revision=84286
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Log-Dispatch-FileRotate/Makefile30
-rw-r--r--devel/p5-Log-Dispatch-FileRotate/distinfo1
-rw-r--r--devel/p5-Log-Dispatch-FileRotate/pkg-descr6
-rw-r--r--devel/p5-Log-Dispatch-FileRotate/pkg-plist7
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bcfcc6a5f24e..0db9dfbd787d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -632,6 +632,7 @@
SUBDIR += p5-Log-Agent-Logger
SUBDIR += p5-Log-Dispatch
SUBDIR += p5-Log-Dispatch-Config
+ SUBDIR += p5-Log-Dispatch-FileRotate
SUBDIR += p5-Log-Log4perl
SUBDIR += p5-Log-TraceMessages
SUBDIR += p5-Mac-FileSpec-Unixish
diff --git a/devel/p5-Log-Dispatch-FileRotate/Makefile b/devel/p5-Log-Dispatch-FileRotate/Makefile
new file mode 100644
index 000000000000..d41feeb9e1b4
--- /dev/null
+++ b/devel/p5-Log-Dispatch-FileRotate/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-Log-Dispatch-FileRotate
+# Date created: Tue Jul 1 15:14:38 CEST 2003
+# Whom: Lars Thegler <lars@thegler.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Log-Dispatch-FileRotate
+PORTVERSION= 1.10
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Log
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@thegler.dk
+COMMENT= A Log::Dispatch plug-in for files that archive/rotate themselves
+
+BUILD_DEPENDS= ${PM_DEPENDS}
+RUN_DEPENDS= ${PM_DEPENDS}
+
+PM_DEPENDS= ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch
+PM_DEPENDS+= ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
+PM_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate
+PM_DEPENDS+= ${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl
+
+PERL_CONFIGURE= yes
+
+MAN3= Log::Dispatch::FileRotate.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Log-Dispatch-FileRotate/distinfo b/devel/p5-Log-Dispatch-FileRotate/distinfo
new file mode 100644
index 000000000000..aaf0cc113312
--- /dev/null
+++ b/devel/p5-Log-Dispatch-FileRotate/distinfo
@@ -0,0 +1 @@
+MD5 (Log-Dispatch-FileRotate-1.10.tar.gz) = 67aa7d6f4db2f197e49df5192f45bf7d
diff --git a/devel/p5-Log-Dispatch-FileRotate/pkg-descr b/devel/p5-Log-Dispatch-FileRotate/pkg-descr
new file mode 100644
index 000000000000..665d6fd1c36d
--- /dev/null
+++ b/devel/p5-Log-Dispatch-FileRotate/pkg-descr
@@ -0,0 +1,6 @@
+This module provides a simple object for logging to files under the
+Log::Dispatch::* system, and automatically rotating them according to
+different constraints. This is basically a Log::Dispatch::File wrapper
+with additions.
+
+WWW: http://search.cpan.org/dist/Log-Dispatch-FileRotate/
diff --git a/devel/p5-Log-Dispatch-FileRotate/pkg-plist b/devel/p5-Log-Dispatch-FileRotate/pkg-plist
new file mode 100644
index 000000000000..4c5e2f469841
--- /dev/null
+++ b/devel/p5-Log-Dispatch-FileRotate/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Log/Dispatch/FileRotate.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatch/FileRotate/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatch/FileRotate
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatch 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Log 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Log/Dispatch 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Log 2>/dev/null || true