git: 43b31c8397f1 - main - mail/bsd-vacation: Add a port of the BSD4.3 version of vacation(1)

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 07 Oct 2023 10:19:16 UTC
The branch main has been updated by gbe:

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

commit 43b31c8397f1ab07e8a3603634952006bf409e0b
Author:     gbe@FreeBSD.org <gbe@FreeBSD.org>
AuthorDate: 2023-09-25 14:15:35 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-10-07 10:18:44 +0000

    mail/bsd-vacation: Add a port of the BSD4.3 version of vacation(1)
    
    This is a port of the vacation(1) command based on the BSD4.3 version. It is
    based on the NetBSD version, which also incorporates changs from OpenBSD. It
    supports RFC 2076 "Common Internet Message Headers" and
    RFC 3834 "Recommendations for Automatic Responses to Electronic Mail".
---
 mail/bsd-vacation/Makefile  | 21 +++++++++++++++++++++
 mail/bsd-vacation/distinfo  |  3 +++
 mail/bsd-vacation/pkg-descr |  4 ++++
 3 files changed, 28 insertions(+)

diff --git a/mail/bsd-vacation/Makefile b/mail/bsd-vacation/Makefile
new file mode 100644
index 000000000000..cbf1c8dcc069
--- /dev/null
+++ b/mail/bsd-vacation/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	bsd-vacation
+DISTVERSIONPREFIX=	v
+DISTVERSION=		1.0
+CATEGORIES=	mail
+
+MAINTAINER=	gbe@FreeBSD.org
+COMMENT=	This is a port of the vacation(1) command based on the BSD4.3 version
+WWW=		https://github.com/gbergling/bsd-vacation
+
+LICENSE=	BSD3CLAUSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	gbergling
+
+PLIST_FILES=	bin/vacation man/man1/vacation.1.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/vacation ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/vacation.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/mail/bsd-vacation/distinfo b/mail/bsd-vacation/distinfo
new file mode 100644
index 000000000000..1e25dc988f38
--- /dev/null
+++ b/mail/bsd-vacation/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695649368
+SHA256 (gbergling-bsd-vacation-v1.0_GH0.tar.gz) = 9396c73248c7db1e308d46567f5b2e50c8082c4ea5e8afc37abb78cd00223b94
+SIZE (gbergling-bsd-vacation-v1.0_GH0.tar.gz) = 7970
diff --git a/mail/bsd-vacation/pkg-descr b/mail/bsd-vacation/pkg-descr
new file mode 100644
index 000000000000..a791141b1613
--- /dev/null
+++ b/mail/bsd-vacation/pkg-descr
@@ -0,0 +1,4 @@
+This is a port of the vacation(1) command based on the BSD4.3 version. It is
+based on the NetBSD version, which also incorporates changs from OpenBSD. It
+supports RFC 2076 "Common Internet Message Headers" and
+RFC 3834 "Recommendations for Automatic Responses to Electronic Mail".