git: 49912693698e - main - pkgbase: Create a FreeBSD-csh package

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 09:18:13 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=49912693698e933394f766407c4ec2edd3d34054

commit 49912693698e933394f766407c4ec2edd3d34054
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-12-15 15:34:19 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-12-21 09:17:50 +0000

    pkgbase: Create a FreeBSD-csh package
    
    Now that root uses /bin/sh as the default shell no need to have csh part
    of runtime.
    Put it in its own package.
    
    MFC after:      never
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D33471
---
 bin/csh/Makefile                  | 5 ++++-
 release/packages/Makefile.package | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 9aabc047493a..2281c11538d0 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -8,13 +8,16 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	csh
+
 CONFGROUPS=	ETC ROOT
+ETCPACKAGE=	csh
+ROOTPACKAGE=	csh
 ETC=	csh.cshrc csh.login csh.logout
 ROOT=	dot.cshrc dot.login
 ROOTDIR=	/root
 ROOTNAME_dot.cshrc=	.cshrc
 ROOTNAME_dot.login=	.login
-PACKAGE=runtime
 TCSHDIR= ${SRCTOP}/contrib/tcsh
 .PATH: ${TCSHDIR}
 
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index a3739c11fa33..0edee34d8556 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -30,6 +30,8 @@ clang_COMMENT= 		Clang Utilities
 clang_DESC= 		Clang Utilities
 clibs_COMMENT= 		Core C Libraries
 clibs_DESC= 		Core C Libraries
+csh_COMMENT=		C Shell
+csh_DESC=		C Shell
 cxgbe-tools_COMMENT=	Chelsio cxbge Utilities
 cxgbe-tools_DESC=	Chelsio cxbge Utilities
 dma_COMMENT= 		DMA Mail Agent Utilities