git: bf85d35587c8 - main - net/mosh: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 14:56:42 UTC
The branch main has been updated by arrowd:

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

commit bf85d35587c8fc687bf83e06bb80b3297118a650
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-18 14:48:10 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-18 14:48:43 +0000

    net/mosh: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/mosh/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net/mosh/Makefile b/net/mosh/Makefile
index 791b2c4e16b2..7340d397db7d 100644
--- a/net/mosh/Makefile
+++ b/net/mosh/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	mosh
 PORTVERSION=	1.4.0
 DISTVERSIONPREFIX=	${PORTNAME}-
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 
 MAINTAINER=	zi@FreeBSD.org
@@ -15,6 +15,7 @@ LIB_DEPENDS=	libprotobuf.so:devel/protobuf
 USES=		autoreconf compiler:c++17-lang ncurses perl5 pkgconfig ssl
 USE_PERL5=	run
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-utempter --without-ncurses
 CONFIGURE_ENV+=	OpenSSL_CFLAGS="-I${OPENSSLINC}" OpenSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
 		TINFO_CFLAGS="-I/usr/include" ac_cv_have_decl_bswap64=yes \
@@ -28,6 +29,8 @@ GH_ACCOUNT=	mobile-shell
 CONFLICTS_INSTALL=	mosh-0.[2-9].*
 
 PLIST_FILES=	bin/mosh bin/mosh-server bin/mosh-client \
-		man/man1/mosh-client.1.gz man/man1/mosh-server.1.gz man/man1/mosh.1.gz
+		share/man/man1/mosh-client.1.gz \
+		share/man/man1/mosh-server.1.gz \
+		share/man/man1/mosh.1.gz
 
 .include <bsd.port.mk>