git: 538731cf67f9 - main - security/rats: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 13:20:18 UTC
The branch main has been updated by bofh:

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

commit 538731cf67f99e999783f029e373f2ff0b5dbe1f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:15:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 13:19:53 +0000

    security/rats: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/rats/Makefile  | 2 ++
 security/rats/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/security/rats/Makefile b/security/rats/Makefile
index 132e740bb6d5..9afe4a217cfb 100644
--- a/security/rats/Makefile
+++ b/security/rats/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rats
 PORTVERSION=	2.4
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/
 
@@ -13,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libexpat.so:textproc/expat2
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		gmake tar:tgz
 CONFIGURE_ARGS=	--with-expat-lib=${LOCALBASE}/lib \
 		--with-expat-include=${LOCALBASE}/include/xml \
diff --git a/security/rats/pkg-plist b/security/rats/pkg-plist
index 2904159f5e71..78f2ecdaff31 100644
--- a/security/rats/pkg-plist
+++ b/security/rats/pkg-plist
@@ -1,5 +1,5 @@
 bin/rats
-man/man1/rats.1.gz
+share/man/man1/rats.1.gz
 %%DATADIR%%/rats-c.xml
 %%DATADIR%%/rats-openssl.xml
 %%DATADIR%%/rats-perl.xml