git: 1afa638df84d - main - security/gnupg-pkcs11-scd: Move man pages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 10:53:06 UTC
The branch main has been updated by arrowd:

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

commit 1afa638df84d1932458befd8e01753797af19197
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-22 16:37:36 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-27 10:52:26 +0000

    security/gnupg-pkcs11-scd: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/gnupg-pkcs11-scd/Makefile  | 2 ++
 security/gnupg-pkcs11-scd/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/security/gnupg-pkcs11-scd/Makefile b/security/gnupg-pkcs11-scd/Makefile
index 3622ee1b407b..de35a0dbc540 100644
--- a/security/gnupg-pkcs11-scd/Makefile
+++ b/security/gnupg-pkcs11-scd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gnupg-pkcs11-scd
 DISTVERSION=	0.10.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/alonbl/${PORTNAME}/releases/download/${DISTNAME}/
 
@@ -19,6 +20,7 @@ LIB_DEPENDS=	libassuan.so:security/libassuan \
 USES=		pkgconfig ssl tar:bz2
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 CONFIGURE_ARGS=	--with-libassuan-prefix=${LOCALBASE} \
 		--with-libgcrypt-prefix=${LOCALBASE} \
diff --git a/security/gnupg-pkcs11-scd/pkg-plist b/security/gnupg-pkcs11-scd/pkg-plist
index bfe4390ad3b9..9c026359366e 100644
--- a/security/gnupg-pkcs11-scd/pkg-plist
+++ b/security/gnupg-pkcs11-scd/pkg-plist
@@ -1,3 +1,3 @@
 bin/gnupg-pkcs11-scd
-man/man1/gnupg-pkcs11-scd.1.gz
+share/man/man1/gnupg-pkcs11-scd.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gnupg-pkcs11-scd.conf