git: 23e3d01cf204 - main - security/opencryptoki: Move man pages to share/man

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

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

commit 23e3d01cf204287af485e34c8154632f85684f05
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 18:02:06 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 20:22:57 +0000

    security/opencryptoki: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/opencryptoki/Makefile  |  2 ++
 security/opencryptoki/pkg-plist | 22 +++++++++++-----------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile
index 420b194a4293..2a60ea9aa77e 100644
--- a/security/opencryptoki/Makefile
+++ b/security/opencryptoki/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	opencryptoki
 PORTVERSION=	3.19.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	hrs@FreeBSD.org
@@ -19,6 +20,7 @@ USES=		alias autoreconf bison gmake ldap libtool localbase ssl tar:tgz
 USE_LDCONFIG=	${PREFIX}/lib/opencryptoki
 USE_GITHUB=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
 CONFIGURE_ARGS=	--enable-swtok \
 		--enable-tpmtok \
diff --git a/security/opencryptoki/pkg-plist b/security/opencryptoki/pkg-plist
index 61144a82bf62..4b8c63cd2e14 100644
--- a/security/opencryptoki/pkg-plist
+++ b/security/opencryptoki/pkg-plist
@@ -28,23 +28,23 @@ lib/pkcs11/methods
 lib/pkcs11/PKCS11_API.so
 lib/pkcs11/stdll
 libdata/pkgconfig/opencryptoki.pc
-man/man1/p11sak.1.gz
-man/man1/pkcsconf.1.gz
-man/man1/pkcsicsf.1.gz
-man/man1/pkcsstats.1.gz
-man/man1/pkcstok_migrate.1.gz
-man/man5/opencryptoki.conf.5.gz
-man/man5/p11sak_defined_attrs.conf.5.gz
-man/man5/policy.conf.5.gz
-man/man5/strength.conf.5.gz
-man/man7/opencryptoki.7.gz
-man/man8/pkcsslotd.8.gz
 sbin/p11sak
 sbin/pkcsconf
 sbin/pkcsicsf
 sbin/pkcsslotd
 sbin/pkcsstats
 sbin/pkcstok_migrate
+share/man/man1/p11sak.1.gz
+share/man/man1/pkcsconf.1.gz
+share/man/man1/pkcsicsf.1.gz
+share/man/man1/pkcsstats.1.gz
+share/man/man1/pkcstok_migrate.1.gz
+share/man/man5/opencryptoki.conf.5.gz
+share/man/man5/p11sak_defined_attrs.conf.5.gz
+share/man/man5/policy.conf.5.gz
+share/man/man5/strength.conf.5.gz
+share/man/man7/opencryptoki.7.gz
+share/man/man8/pkcsslotd.8.gz
 @dir(%%USERS%%,%%GROUPS%%,770) /var/lib/opencryptoki
 @dir(%%USERS%%,%%GROUPS%%,770) /var/lib/opencryptoki/icsf
 @dir(%%USERS%%,%%GROUPS%%,770) /var/lib/opencryptoki/swtok