git: af6da1b391ae - main - security/samhain: Moved man to share/man

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

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

commit af6da1b391aefc3f02884e444ea6ae7c18fd9bf3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:17:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 13:19:54 +0000

    security/samhain: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/samhain/Makefile  | 2 ++
 security/samhain/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/security/samhain/Makefile b/security/samhain/Makefile
index 7a043f53ff51..519e883bf4a7 100644
--- a/security/samhain/Makefile
+++ b/security/samhain/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	samhain
 PORTVERSION=	4.4.3
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://la-samhna.de/archive/
 DISTNAME=	samhain_signed-${PORTVERSION}
@@ -20,6 +21,7 @@ SHEBANG_FILES=		scripts/samhainadmin-gpg.pl.in \
 			scripts/samhainadmin-sig.pl.in
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--localstatedir=/var \
 		--with-logserver=true \
 		--with-altlogserver=true \
diff --git a/security/samhain/pkg-plist b/security/samhain/pkg-plist
index d9455585eabf..66c960af1b64 100644
--- a/security/samhain/pkg-plist
+++ b/security/samhain/pkg-plist
@@ -14,8 +14,8 @@
 %%SAMHAIN%%@dir /var/lib/samhain
 %%SAMHAIN%%@sample etc/samhainrc.sample
 %%SAMHAIN%%etc/rc.d/samhain
-%%SAMHAIN%%man/man5/samhainrc.5.gz
-%%SAMHAIN%%man/man8/samhain.8.gz
+%%SAMHAIN%%share/man/man5/samhainrc.5.gz
+%%SAMHAIN%%share/man/man8/samhain.8.gz
 %%SAMHAIN%%sbin/samhain
 %%SETPWD%%sbin/samhain_setpwd
 %%YULE%%@dir /var/lib/yule
@@ -23,8 +23,8 @@
 %%YULE%%@sample etc/yulerc.sample
 %%YULE%%@postunexec echo "To delete the yule user permanently, use 'pw userdel yule'"
 %%YULE%%etc/rc.d/yule
-%%YULE%%man/man5/yulerc.5.gz
-%%YULE%%man/man8/yule.8.gz
+%%YULE%%share/man/man5/yulerc.5.gz
+%%YULE%%share/man/man8/yule.8.gz
 %%YULE%%sbin/yule
 %%YULE%%sbin/yule_setpwd
 %%YULE%%sbin/yuleadmin-gpg.pl