git: 7996ee67ffb4 - main - sysutils/tmpwatch: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 07:41:47 UTC
The branch main has been updated by bofh:

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

commit 7996ee67ffb41454a722d2cc37ef70a3e7417517
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:25:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:25:47 +0000

    sysutils/tmpwatch: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/tmpwatch/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysutils/tmpwatch/Makefile b/sysutils/tmpwatch/Makefile
index ce54e4030f84..7c9d7bab3aa7 100644
--- a/sysutils/tmpwatch/Makefile
+++ b/sysutils/tmpwatch/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tmpwatch
 PORTVERSION=	2.11
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://releases.pagure.org/tmpwatch/
 
@@ -14,9 +15,10 @@ USES=		cpe tar:bzip2
 CPE_VENDOR=	redhat
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 PLIST_FILES=	sbin/tmpwatch \
-		man/man8/tmpwatch.8.gz
+		share/man/man8/tmpwatch.8.gz
 
 post-patch:
 	@${REINPLACE_CMD} -E "s/^#include.+mntent.h.+//g" ${WRKSRC}/tmpwatch.c