aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-11 21:14:18 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-11 21:46:56 +0000
commit5f534949af358b4c34b5150f6e4cf50fb7a911f6 (patch)
tree8a7dcc3bfec9f3793ad6f53bf50daacce0322367
parentd912fa05796fcc01b6c672254860e29adb261ab0 (diff)
downloadports-5f534949af358b4c34b5150f6e4cf50fb7a911f6.tar.gz
ports-5f534949af358b4c34b5150f6e4cf50fb7a911f6.zip
textproc/rubygem-parse-cron: Add rubygem-parse-cron 0.1.4
The goal of Parse-Cron is to parse a crontab timing specification and determine when the job should be run. It is not a scheduler, it does not run the jobs. WWW: https://github.com/siebertm/parse-cron
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-parse-cron/Makefile19
-rw-r--r--textproc/rubygem-parse-cron/distinfo3
-rw-r--r--textproc/rubygem-parse-cron/pkg-descr4
4 files changed, 27 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 93a52c99a5a9..1e0e1e0aaa1a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1652,6 +1652,7 @@
SUBDIR += rubygem-opml
SUBDIR += rubygem-org-ruby
SUBDIR += rubygem-ox
+ SUBDIR += rubygem-parse-cron
SUBDIR += rubygem-parslet
SUBDIR += rubygem-parslet1
SUBDIR += rubygem-phone
diff --git a/textproc/rubygem-parse-cron/Makefile b/textproc/rubygem-parse-cron/Makefile
new file mode 100644
index 000000000000..d3a0bdebf912
--- /dev/null
+++ b/textproc/rubygem-parse-cron/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= parse-cron
+PORTVERSION= 0.1.4
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Parse cron expressions and calculates the next occurence
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/License
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-parse-cron/distinfo b/textproc/rubygem-parse-cron/distinfo
new file mode 100644
index 000000000000..ed791d1d5009
--- /dev/null
+++ b/textproc/rubygem-parse-cron/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620405343
+SHA256 (rubygem/parse-cron-0.1.4.gem) = 0f9e320ee62e668160f3de7c2dcfaac7a7cd57e77dc6909645a8e615444cd209
+SIZE (rubygem/parse-cron-0.1.4.gem) = 10240
diff --git a/textproc/rubygem-parse-cron/pkg-descr b/textproc/rubygem-parse-cron/pkg-descr
new file mode 100644
index 000000000000..f22400f0f341
--- /dev/null
+++ b/textproc/rubygem-parse-cron/pkg-descr
@@ -0,0 +1,4 @@
+The goal of Parse-Cron is to parse a crontab timing specification and determine
+when the job should be run. It is not a scheduler, it does not run the jobs.
+
+WWW: https://github.com/siebertm/parse-cron