From 082f8933e871a3eadeb1692e5ddede7a7707720f Mon Sep 17 00:00:00 2001 From: pirofti Date: Fri, 19 May 2017 07:37:00 +0000 Subject: [PATCH] Import math/p5-Business-Hours. This module is a simple tool for calculating business hours in a time period. Over time, additional functionality will be added to make it easy to calculate the number of business hours between arbitrary dates. OK and input from benoit@, sthen@, tsg@ --- math/p5-Business-Hours/Makefile | 15 +++++++++++++++ math/p5-Business-Hours/distinfo | 2 ++ math/p5-Business-Hours/pkg/DESCR | 3 +++ math/p5-Business-Hours/pkg/PLIST | 4 ++++ 4 files changed, 24 insertions(+) create mode 100644 math/p5-Business-Hours/Makefile create mode 100644 math/p5-Business-Hours/distinfo create mode 100644 math/p5-Business-Hours/pkg/DESCR create mode 100644 math/p5-Business-Hours/pkg/PLIST diff --git a/math/p5-Business-Hours/Makefile b/math/p5-Business-Hours/Makefile new file mode 100644 index 00000000000..38111420f6e --- /dev/null +++ b/math/p5-Business-Hours/Makefile @@ -0,0 +1,15 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2017/05/19 07:37:00 pirofti Exp $ + +COMMENT = calculate business hours in a time period + +MODULES = cpan +PKG_ARCH = * +DISTNAME = Business-Hours-0.12 +CATEGORIES = math + +# perl +PERMIT_PACKAGE_CDROM = Yes + +RUN_DEPENDS = math/p5-Set-IntSpan + +.include diff --git a/math/p5-Business-Hours/distinfo b/math/p5-Business-Hours/distinfo new file mode 100644 index 00000000000..0e74b1d3997 --- /dev/null +++ b/math/p5-Business-Hours/distinfo @@ -0,0 +1,2 @@ +SHA256 (Business-Hours-0.12.tar.gz) = 2z9i82zuLj1e0OaP/KP2O6Hbq1/EXU1XEKGHio54hZU= +SIZE (Business-Hours-0.12.tar.gz) = 16021 diff --git a/math/p5-Business-Hours/pkg/DESCR b/math/p5-Business-Hours/pkg/DESCR new file mode 100644 index 00000000000..03c76f326a1 --- /dev/null +++ b/math/p5-Business-Hours/pkg/DESCR @@ -0,0 +1,3 @@ +This module is a simple tool for calculating business hours in a time period. +Over time, additional functionality will be added to make it easy to calculate +the number of business hours between arbitrary dates. diff --git a/math/p5-Business-Hours/pkg/PLIST b/math/p5-Business-Hours/pkg/PLIST new file mode 100644 index 00000000000..67c093b9daa --- /dev/null +++ b/math/p5-Business-Hours/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2017/05/19 07:37:00 pirofti Exp $ +${P5SITE}/Business/ +${P5SITE}/Business/Hours.pm +@man man/man3p/Business::Hours.3p