aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2010-12-22 22:40:12 +0800
committermat <mat@FreeBSD.org>2010-12-22 22:40:12 +0800
commit1d4db804b36407854c16ba392e1afb6a60318f95 (patch)
tree2dfbceec05d1234d190fdc92b031920ce6832155
parent4284034d1f796e833c7e79a70aa8d04728fd1dbf (diff)
downloadfreebsd-ports-gnome-1d4db804b36407854c16ba392e1afb6a60318f95.tar.gz
freebsd-ports-gnome-1d4db804b36407854c16ba392e1afb6a60318f95.tar.zst
freebsd-ports-gnome-1d4db804b36407854c16ba392e1afb6a60318f95.zip
This component extends POE::Component::Schedule by adding an easy way t specify
event schedules using a simple cron spec.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-POE-Component-Cron/Makefile31
-rw-r--r--devel/p5-POE-Component-Cron/distinfo2
-rw-r--r--devel/p5-POE-Component-Cron/pkg-descr4
-rw-r--r--devel/p5-POE-Component-Cron/pkg-plist7
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b17c716998eb..13b7e6756fa0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2006,6 +2006,7 @@
SUBDIR += p5-POE-API-Hooks
SUBDIR += p5-POE-API-Peek
SUBDIR += p5-POE-Component-Child
+ SUBDIR += p5-POE-Component-Cron
SUBDIR += p5-POE-Component-Daemon
SUBDIR += p5-POE-Component-DebugShell
SUBDIR += p5-POE-Component-DirWatch
diff --git a/devel/p5-POE-Component-Cron/Makefile b/devel/p5-POE-Component-Cron/Makefile
new file mode 100644
index 000000000000..681f352cf83f
--- /dev/null
+++ b/devel/p5-POE-Component-Cron/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: POE-Component-Cron
+# Date created: December 21 2010
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= POE-Component-Cron
+PORTVERSION= 0.021
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Schedule POE Events using a cron spec
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
+ ${SITE_PERL}/POE/Component/Schedule.pm:${PORTSDIR}/devel/p5-POE-Component-Schedule \
+ ${SITE_PERL}/DateTime/Event/Random.pm:${PORTSDIR}/devel/p5-DateTime-Event-Random \
+ ${SITE_PERL}/DateTime/Event/Cron.pm:${PORTSDIR}/devel/p5-DateTime-Event-Cron
+RUN_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
+ ${SITE_PERL}/POE/Component/Schedule.pm:${PORTSDIR}/devel/p5-POE-Component-Schedule \
+ ${SITE_PERL}/DateTime/Event/Random.pm:${PORTSDIR}/devel/p5-DateTime-Event-Random \
+ ${SITE_PERL}/DateTime/Event/Cron.pm:${PORTSDIR}/devel/p5-DateTime-Event-Cron
+
+PERL_CONFIGURE= yes
+
+MAN3= POE::Component::Cron.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-POE-Component-Cron/distinfo b/devel/p5-POE-Component-Cron/distinfo
new file mode 100644
index 000000000000..57f4814dae4d
--- /dev/null
+++ b/devel/p5-POE-Component-Cron/distinfo
@@ -0,0 +1,2 @@
+SHA256 (POE-Component-Cron-0.021.tar.gz) = d4b192b527eab2c9b0ded4cbb1bc466dbbe169ed8d2bbd3545cfe9d2511692e3
+SIZE (POE-Component-Cron-0.021.tar.gz) = 3368
diff --git a/devel/p5-POE-Component-Cron/pkg-descr b/devel/p5-POE-Component-Cron/pkg-descr
new file mode 100644
index 000000000000..36a6a261adce
--- /dev/null
+++ b/devel/p5-POE-Component-Cron/pkg-descr
@@ -0,0 +1,4 @@
+This component extends POE::Component::Schedule by adding an easy way t specify
+event schedules using a simple cron spec.
+
+WWW: http://search.cpan.org/dist/POE-Component-Cron/
diff --git a/devel/p5-POE-Component-Cron/pkg-plist b/devel/p5-POE-Component-Cron/pkg-plist
new file mode 100644
index 000000000000..527490752749
--- /dev/null
+++ b/devel/p5-POE-Component-Cron/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/POE/Component/Cron.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Cron/.packlist
+@dirrmtry %%SITE_PERL%%/POE/Component
+@dirrmtry %%SITE_PERL%%/POE
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Cron
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE