git: 0b4b9ae40ee1 - main - security/libotr: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 03:48:25 UTC
The branch main has been updated by bofh:

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

commit 0b4b9ae40ee148fd8a7a9e259606dc0920bfaaf2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 01:41:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 03:48:00 +0000

    security/libotr: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/libotr/Makefile  |  2 ++
 security/libotr/pkg-plist | 14 +++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/security/libotr/Makefile b/security/libotr/Makefile
index fb3b13f34136..e1a5f7797ec3 100644
--- a/security/libotr/Makefile
+++ b/security/libotr/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libotr
 PORTVERSION=	4.1.1
+PORTREVISION=	1
 CATEGORIES=	security net-im net
 MASTER_SITES=	https://otr.cypherpunks.ca/ \
 		http://www.c-s.li/ports/
@@ -18,6 +19,7 @@ LIB_DEPENDS=	libgpg-error.so:security/libgpg-error \
 CONFLICTS=	libotr3
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		libtool pathfix cpe
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
diff --git a/security/libotr/pkg-plist b/security/libotr/pkg-plist
index d2d915569961..c3facc92dc91 100644
--- a/security/libotr/pkg-plist
+++ b/security/libotr/pkg-plist
@@ -25,12 +25,12 @@ lib/libotr.so
 lib/libotr.so.5
 lib/libotr.so.5.1.1
 libdata/pkgconfig/libotr.pc
-man/man1/otr_mackey.1.gz
-man/man1/otr_modify.1.gz
-man/man1/otr_parse.1.gz
-man/man1/otr_readforge.1.gz
-man/man1/otr_remac.1.gz
-man/man1/otr_sesskeys.1.gz
-man/man1/otr_toolkit.1.gz
+share/man/man1/otr_mackey.1.gz
+share/man/man1/otr_modify.1.gz
+share/man/man1/otr_parse.1.gz
+share/man/man1/otr_readforge.1.gz
+share/man/man1/otr_remac.1.gz
+share/man/man1/otr_sesskeys.1.gz
+share/man/man1/otr_toolkit.1.gz
 share/aclocal/libotr.m4
 @dir include/libotr