git: 5af0089ab29f - main - security/stoken: Move man pages to share/man

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

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

commit 5af0089ab29fd23c127f9befddb64cbb87acb9bf
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 20:11:18 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 20:23:00 +0000

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

diff --git a/security/stoken/Makefile b/security/stoken/Makefile
index fa54a33243c8..1ef6edbd40f6 100644
--- a/security/stoken/Makefile
+++ b/security/stoken/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	stoken
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.93
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 
 MAINTAINER=	samm@FreeBSD.org
@@ -15,6 +15,7 @@ LIB_DEPENDS=	libtomcrypt.so:security/libtomcrypt # can alternatively use nettle,
 
 USES=		gnome libtool localbase pkgconfig autoreconf
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 USE_GITHUB=	yes
diff --git a/security/stoken/pkg-plist b/security/stoken/pkg-plist
index 2d82cf04b878..3c66a05683ab 100644
--- a/security/stoken/pkg-plist
+++ b/security/stoken/pkg-plist
@@ -5,8 +5,8 @@ lib/libstoken.a
 lib/libstoken.so
 lib/libstoken.so.1
 lib/libstoken.so.1.3.0
-%%X11%%man/man1/stoken-gui.1.gz
-man/man1/stoken.1.gz
+%%X11%%share/man/man1/stoken-gui.1.gz
+share/man/man1/stoken.1.gz
 %%X11%%share/applications/stoken-gui-small.desktop
 %%X11%%share/applications/stoken-gui.desktop
 %%X11%%%%DATADIR%%/password-dialog.ui