git: a6e03b6e1edf - main - security/unix-selfauth-helper: Move man pages to share/man

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 23:39:46 UTC
The branch main has been updated by vvd:

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

commit a6e03b6e1edf4cac3ff5d8286adc75651d10ca65
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-03-05 21:22:53 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-03-05 23:35:44 +0000

    security/unix-selfauth-helper: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/unix-selfauth-helper/Makefile             |  3 ++-
 security/unix-selfauth-helper/files/patch-Makefile | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/security/unix-selfauth-helper/Makefile b/security/unix-selfauth-helper/Makefile
index 414cb4e19ab5..0205a4391eef 100644
--- a/security/unix-selfauth-helper/Makefile
+++ b/security/unix-selfauth-helper/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	unix-selfauth-helper
 DISTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	${WWW}/releases/download/v${DISTVERSION}/
 
@@ -13,6 +14,6 @@ USES=		tar:xz
 
 PLIST_FILES=	etc/pam.d/unix-selfauth \
 		libexec/unix-selfauth-helper \
-		man/man8/unix-selfauth-helper.8.gz
+		share/man/man8/unix-selfauth-helper.8.gz
 
 .include <bsd.port.mk>
diff --git a/security/unix-selfauth-helper/files/patch-Makefile b/security/unix-selfauth-helper/files/patch-Makefile
new file mode 100644
index 000000000000..3c97ad8f1a76
--- /dev/null
+++ b/security/unix-selfauth-helper/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig	2023-07-13 18:59:16 UTC
++++ Makefile
+@@ -9,7 +9,7 @@ BINMODE=	4555
+ DIRS+=		MAN8DIR
+ MAN=		${PROG}.8
+ MAN8=		${MAN}
+-MANDIR=		${PREFIX}/man/man
++MANDIR=		${PREFIX}/share/man/man
+ MAN8DIR=	${MANDIR}8
+ 
+ CONFS=		unix-selfauth