git: b86efd744186 - main - security/duo: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 21 Mar 2024 17:10:34 UTC
The branch main has been updated by eduardo:

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

commit b86efd744186fd6255cf6018e3cb2bf55caff98d
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 16:29:05 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 17:10:17 +0000

    security/duo: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/duo/Makefile  | 2 ++
 security/duo/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/security/duo/Makefile b/security/duo/Makefile
index c7bd742eb637..78b77ca5a36d 100644
--- a/security/duo/Makefile
+++ b/security/duo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	duo
 PORTVERSION=	2.0.1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://dl.duosecurity.com/ \
 		ZI
@@ -15,6 +16,7 @@ CONFIGURE_ARGS=	--with-pam=${PREFIX}/lib/security --sysconfdir=${PREFIX}/etc \
 		--docdir=${DOCSDIR} --includedir=${PREFIX}/include/${PORTNAME}
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		libtool pathfix ssl
 USE_LDCONFIG=	yes
 
diff --git a/security/duo/pkg-plist b/security/duo/pkg-plist
index 944a4168b067..aa266afb351e 100644
--- a/security/duo/pkg-plist
+++ b/security/duo/pkg-plist
@@ -8,9 +8,9 @@ include/duo/util.h
 include/duo/shell.h
 libdata/pkgconfig/libduo.pc
 lib/security/pam_duo.so
-man/man3/duo.3.gz
-man/man8/login_duo.8.gz
-man/man8/pam_duo.8.gz
+share/man/man3/duo.3.gz
+share/man/man8/login_duo.8.gz
+share/man/man8/pam_duo.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md
 @comment %%PORTDOCS%%%%DOCSDIR%%_unix/duo_unix_support/README.md
 %%PORTDOCS%%%%DOCSDIR%%/README.md