git: 69c74a9674ca - main - security/openssh-portable: Move manpages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 03:18:18 UTC
The branch main has been updated by yasu:

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

commit 69c74a9674ca9a218010bbacfffc207df1415833
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-06 02:47:39 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-06 03:17:56 +0000

    security/openssh-portable: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/openssh-portable/Makefile  |  3 ++-
 security/openssh-portable/pkg-plist | 30 +++++++++++++++---------------
 2 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index f81f604ddf54..0fc53a49df7b 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openssh
 DISTVERSION=	9.6p1
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	OPENBSD/OpenSSH/portable
@@ -20,6 +20,7 @@ CONFLICTS?=		openssh-3.* ssh-1.* ssh2-3.* openssh-portable-devel
 USES=			alias autoreconf compiler:c11 cpe localbase ncurses \
 			pkgconfig ssl
 GNU_CONFIGURE=		yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=		--prefix=${PREFIX} \
 			--without-zlib-version-check \
 			--with-ssl-engine \
diff --git a/security/openssh-portable/pkg-plist b/security/openssh-portable/pkg-plist
index ac8db435a973..991d1f830bbe 100644
--- a/security/openssh-portable/pkg-plist
+++ b/security/openssh-portable/pkg-plist
@@ -14,18 +14,18 @@ libexec/sftp-server
 libexec/ssh-keysign
 libexec/ssh-pkcs11-helper
 libexec/ssh-sk-helper
-man/man1/sftp.1.gz
-man/man1/ssh-add.1.gz
-man/man1/ssh-agent.1.gz
-man/man1/ssh-keygen.1.gz
-man/man1/ssh-keyscan.1.gz
-man/man1/scp.1.gz
-man/man1/ssh.1.gz
-man/man5/moduli.5.gz
-man/man5/ssh_config.5.gz
-man/man5/sshd_config.5.gz
-man/man8/sftp-server.8.gz
-man/man8/ssh-keysign.8.gz
-man/man8/ssh-pkcs11-helper.8.gz
-man/man8/ssh-sk-helper.8.gz
-man/man8/sshd.8.gz
+share/man/man1/sftp.1.gz
+share/man/man1/ssh-add.1.gz
+share/man/man1/ssh-agent.1.gz
+share/man/man1/ssh-keygen.1.gz
+share/man/man1/ssh-keyscan.1.gz
+share/man/man1/scp.1.gz
+share/man/man1/ssh.1.gz
+share/man/man5/moduli.5.gz
+share/man/man5/ssh_config.5.gz
+share/man/man5/sshd_config.5.gz
+share/man/man8/sftp-server.8.gz
+share/man/man8/ssh-keysign.8.gz
+share/man/man8/ssh-pkcs11-helper.8.gz
+share/man/man8/ssh-sk-helper.8.gz
+share/man/man8/sshd.8.gz