aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-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
6 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index ba10ef2fccc8..7750af198277 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -71,6 +71,7 @@
SUBDIR += nut
SUBDIR += nwclient
SUBDIR += obliterate
+ SUBDIR += p5-Schedule-Cron
SUBDIR += p5-SyslogScan
SUBDIR += p5-Unix-Syslog
SUBDIR += pib
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