git: c5a736b7ffbd - main - security/openiked-portable: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 13:20:13 UTC
The branch main has been updated by bofh:

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

commit c5a736b7ffbdae4727650937be2c33347d469c75
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:11:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 13:19:49 +0000

    security/openiked-portable: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/openiked-portable/Makefile  | 3 +++
 security/openiked-portable/pkg-plist | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/security/openiked-portable/Makefile b/security/openiked-portable/Makefile
index f5dc4110c5d2..959590d8ada5 100644
--- a/security/openiked-portable/Makefile
+++ b/security/openiked-portable/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	openiked
 DISTVERSION=	7.3
+PORTREVISION=	1
 CATEGORIES=	security net
 MASTER_SITES=	OPENBSD/OpenIKED
 PKGNAMESUFFIX=	-portable
@@ -15,6 +16,8 @@ LIB_DEPENDS=	libevent.so:devel/libevent
 USES=		cmake ssl
 USE_RC_SUBR=	iked
 
+CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR:PATH=${PREFIX}/share/man
+
 CONFLICTS_INSTALL=	openiked
 
 USERS=		_iked
diff --git a/security/openiked-portable/pkg-plist b/security/openiked-portable/pkg-plist
index d52ad2da40ba..64f78b4cacb6 100644
--- a/security/openiked-portable/pkg-plist
+++ b/security/openiked-portable/pkg-plist
@@ -1,9 +1,9 @@
 @sample(,,600) etc/iked.conf.sample
 sbin/ikectl
 sbin/iked
-man/man5/iked.conf.5.gz
-man/man8/ikectl.8.gz
-man/man8/iked.8.gz
+share/man/man5/iked.conf.5.gz
+share/man/man8/ikectl.8.gz
+share/man/man8/iked.8.gz
 etc/ssl/ikeca.cnf
 etc/ssl/ikex509v3.cnf
 @dir etc/iked/ca