summaryrefslogtreecommitdiff
path: root/sysutils/p5-Schedule-Cron
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2001-01-03 09:17:30 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2001-01-03 09:17:30 +0000
commit194d04ec160048fde97cda369ce5a8ec40ca7440 (patch)
tree97646c0a1d5054365720ab40c79c0e574b87f767 /sysutils/p5-Schedule-Cron
parentUpdate to 4.0 (diff)
Add p5-Schedule-Cron 0.03, schedule::Cron - cron-like scheduler for Perl
subroutines. PR: 24030 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=36624
Diffstat (limited to 'sysutils/p5-Schedule-Cron')
-rw-r--r--sysutils/p5-Schedule-Cron/Makefile26
-rw-r--r--sysutils/p5-Schedule-Cron/distinfo1
-rw-r--r--sysutils/p5-Schedule-Cron/pkg-comment1
-rw-r--r--sysutils/p5-Schedule-Cron/pkg-descr21
-rw-r--r--sysutils/p5-Schedule-Cron/pkg-plist5
5 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/p5-Schedule-Cron/Makefile b/sysutils/p5-Schedule-Cron/Makefile
new file mode 100644
index 000000000000..dc3ef527b56a
--- /dev/null
+++ b/sysutils/p5-Schedule-Cron/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: sysutils/p5-Schedule-Cron
+# Date created: 03 January 2001
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Schedule-Cron
+PORTVERSION= 0.03
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Schedule
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= Schedule::Cron.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/sysutils/p5-Schedule-Cron/distinfo b/sysutils/p5-Schedule-Cron/distinfo
new file mode 100644
index 000000000000..a35c34702de7
--- /dev/null
+++ b/sysutils/p5-Schedule-Cron/distinfo
@@ -0,0 +1 @@
+MD5 (Schedule-Cron-0.03.tar.gz) = abae3eb58f495c4c66a22381aaa02cbc
diff --git a/sysutils/p5-Schedule-Cron/pkg-comment b/sysutils/p5-Schedule-Cron/pkg-comment
new file mode 100644
index 000000000000..94351b06f22a
--- /dev/null
+++ b/sysutils/p5-Schedule-Cron/pkg-comment
@@ -0,0 +1 @@
+Schedule::Cron - cron-like scheduler for Perl subroutines
diff --git a/sysutils/p5-Schedule-Cron/pkg-descr b/sysutils/p5-Schedule-Cron/pkg-descr
new file mode 100644
index 000000000000..e34bae54ad73
--- /dev/null
+++ b/sysutils/p5-Schedule-Cron/pkg-descr
@@ -0,0 +1,21 @@
+This module provides a simple but complete cron like scheduler. I.e
+this modules can be used for periodically executing Perl subroutines.
+The dates and parameters for the subroutines to be called are
+specified with a format known as crontab entry (see manpage crontab(5)
+or documentation of Schedule::Cron).
+
+The philosophy behind Schedule::Cron is to call subroutines
+periodically from within one single Perl program instead of letting
+cron trigger several (possibly different) Perl scripts. Everything
+under one roof. Furthermore Schedule::Cron provides mechanism to
+create crontab entries dynamically, which isn't that easy with cron.
+
+Schedule::Cron knows about all extensions (well, at least all
+extensions I'm aware of, i.e those of the so called "Vixie" cron) for
+crontab entries like ranges including 'steps', specification of month
+and days of the week by name or coexistence of lists and ranges in the
+same field. And even a bit more (like lists and ranges with symbolic
+names).
+
+-Anton
+<tobez@tobez.org>
diff --git a/sysutils/p5-Schedule-Cron/pkg-plist b/sysutils/p5-Schedule-Cron/pkg-plist
new file mode 100644
index 000000000000..6d760fa18c54
--- /dev/null
+++ b/sysutils/p5-Schedule-Cron/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Schedule/Cron/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Schedule/Cron.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Schedule/Cron
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Schedule 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Schedule 2>/dev/null || true