git: fd53e6ba9ef6 - main - deskutils/plan: Add Family Day (Canada)

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 16 Feb 2022 20:21:51 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd53e6ba9ef6a35f253d439e23d720aa1d86b476

commit fd53e6ba9ef6a35f253d439e23d720aa1d86b476
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-02-16 20:10:06 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-02-16 20:21:45 +0000

    deskutils/plan: Add Family Day (Canada)
    
    The various Canadian provinces and territories have added a new
    provincial holiday called in most provinces Family Day. Though,
    it is called Louis Riel Day in Manitoba, Islandar Day in
    Prince Edward Island, Nova Scotia Heritage Day in that province,
    and Yukon Heritage Day in that territory. It is generally called
    Family Day because all other Canadian provinces call it that.
    
    Family Day falls on the same day as President's Day does in the US.
    
    See also:       https://en.wikipedia.org/wiki/Family_Day_(Canada)
                    https://www2.gov.bc.ca/gov/content/governments/ \
                            celebrating-british-columbia/bc-family-day
                    https://www.statutoryholidays.com/family-day.php
---
 deskutils/plan/Makefile                            |  1 +
 deskutils/plan/files/patch-holiday_holiday__canada | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/deskutils/plan/Makefile b/deskutils/plan/Makefile
index 8bec6b3c8a77..c817565be943 100644
--- a/deskutils/plan/Makefile
+++ b/deskutils/plan/Makefile
@@ -4,6 +4,7 @@
 
 PORTNAME=	plan
 PORTVERSION=	1.10.1
+PORTREVISION=	1
 CATEGORIES+=	deskutils
 MASTER_SITES=	ftp://plan.ftp.fu-berlin.de/
 
diff --git a/deskutils/plan/files/patch-holiday_holiday__canada b/deskutils/plan/files/patch-holiday_holiday__canada
new file mode 100644
index 000000000000..a31689f9427e
--- /dev/null
+++ b/deskutils/plan/files/patch-holiday_holiday__canada
@@ -0,0 +1,12 @@
+--- ../holiday/holiday_canada.orig	1995-04-17 14:46:02.000000000 -0700
++++ ../holiday/holiday_canada	2022-02-16 11:24:04.169278000 -0800
+@@ -5,7 +5,8 @@
+ :
+ small "New Year's Day" weekend on january 1
+ small "Valentine's Day" on february 14
+-small "God Friday" weekend on easter minus 2 days
++small "Family Day" weekend on third monday in february
++small "Good Friday" weekend on easter minus 2 days
+ small "Easter" weekend on easter
+ small "Easter Monday" weekend on easter plus 1 day
+ small "Mother's Day" on second sunday in may