git: 568cbbb8ad5f - main - net/endlessh: Move manpages to share/man

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

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

commit 568cbbb8ad5fa1a784b07f8a4ba191b183bf5a64
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-18 15:06:20 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-18 15:06:20 +0000

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

diff --git a/net/endlessh/Makefile b/net/endlessh/Makefile
index d2987422504d..97955b8f0997 100644
--- a/net/endlessh/Makefile
+++ b/net/endlessh/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	endlessh
 PORTVERSION=	1.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 
 MAINTAINER=	brnrd@FreeBSD.org
@@ -16,14 +16,13 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	skeeto
 
 PLIST_FILES=	bin/endlessh \
-		man/man1/endlessh.1.gz \
+		share/man/man1/endlessh.1.gz \
 		"@sample ${PREFIX}/etc/endlessh.conf.sample" \
 		${PREFIX}/etc/endlessh.newsyslog.conf
 
 SUB_FILES=	pkg-message
 
 post-patch:
-	${REINPLACE_CMD} 's|share/man|man|;s|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
 	${REINPLACE_CMD} 's|/etc/endlessh/config|${PREFIX}/etc/endlessh.conf|' \
 		${WRKSRC}/endlessh.c ${WRKSRC}/endlessh.1