git: 770635222641 - stable/13 - pkgbase: Create a FreeBSD-dwatch package

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 05 Jan 2022 17:24:09 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=770635222641a988c5773624bb980fd4f1d17c39

commit 770635222641a988c5773624bb980fd4f1d17c39
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-09-01 17:38:40 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-01-05 17:23:49 +0000

    pkgbase: Create a FreeBSD-dwatch package
    
    While dwatch is useful some users might not want it by default.
    Create a package for it.
    
    Differential Revision:  https://reviews.freebsd.org/D31796
    
    (cherry picked from commit a3266ba2697a383d2ede56803320d941866c7e76)
---
 cddl/usr.sbin/dwatch/Makefile          | 2 ++
 cddl/usr.sbin/dwatch/examples/Makefile | 1 +
 cddl/usr.sbin/dwatch/libexec/Makefile  | 1 +
 release/packages/Makefile.package      | 2 ++
 4 files changed, 6 insertions(+)

diff --git a/cddl/usr.sbin/dwatch/Makefile b/cddl/usr.sbin/dwatch/Makefile
index 647f07388890..aa2873ec4681 100644
--- a/cddl/usr.sbin/dwatch/Makefile
+++ b/cddl/usr.sbin/dwatch/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	dwatch
+
 SUBDIR= libexec
 
 .if ${MK_EXAMPLES} != "no"
diff --git a/cddl/usr.sbin/dwatch/examples/Makefile b/cddl/usr.sbin/dwatch/examples/Makefile
index 33364044942f..344d67d27ec8 100644
--- a/cddl/usr.sbin/dwatch/examples/Makefile
+++ b/cddl/usr.sbin/dwatch/examples/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	dwatch
 FILESDIR=	${SHAREDIR}/examples/dwatch
 FILES=		profile_template
 
diff --git a/cddl/usr.sbin/dwatch/libexec/Makefile b/cddl/usr.sbin/dwatch/libexec/Makefile
index d84fc370519b..581556eeebd0 100644
--- a/cddl/usr.sbin/dwatch/libexec/Makefile
+++ b/cddl/usr.sbin/dwatch/libexec/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	dwatch
 FILESDIR=	${LIBEXECDIR}/dwatch
 FILES=		chmod \
 		errno \
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 243291e33d14..e4bdc5b7eef9 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -38,6 +38,8 @@ docs_COMMENT= 		Documentation
 docs_DESC= 		Documentation
 dtrace_COMMENT=		Dtrace Utilities
 dtrace_DESC=		Dtrace Utilities
+dwatch_COMMENT=		Dwatch Utilities
+dwatch_DESC=		Dwatch Utilities
 ee_COMMENT= 		Easy Editor Utilities
 ee_DESC= 		Easy Editor Utilities
 gdb_COMMENT= 		GDB Utilities