git: 52441ceb426d - main - security/libotr3: Move man pages to share/man

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

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

commit 52441ceb426dff87731dc8761f2cc819b8c86b15
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 16:53:50 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 17:10:18 +0000

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

diff --git a/security/libotr3/Makefile b/security/libotr3/Makefile
index cb838bc86846..c416df548dea 100644
--- a/security/libotr3/Makefile
+++ b/security/libotr3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libotr
 PORTVERSION=	3.2.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security net-im net
 MASTER_SITES=	http://www.c-s.li/ports/ \
 		https://otr.cypherpunks.ca/
@@ -20,6 +20,7 @@ LIB_DEPENDS=	libgpg-error.so:security/libgpg-error \
 CONFLICTS=	libotr
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		cpe libtool pathfix
 USE_LDCONFIG=	yes
 CPE_VENDOR=	cypherpunks
diff --git a/security/libotr3/pkg-plist b/security/libotr3/pkg-plist
index 8377f147e449..aa8080d876a5 100644
--- a/security/libotr3/pkg-plist
+++ b/security/libotr3/pkg-plist
@@ -23,11 +23,11 @@ lib/libotr.so
 lib/libotr.so.2
 lib/libotr.so.2.2.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/aclocal/libotr.m4
+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