git: 7f7f47254d22 - main - security/keychain: Update manpages path

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 08 Jan 2024 16:44:54 UTC
The branch main has been updated by garga:

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

commit 7f7f47254d228126c9da09c5bac1719f7dc30be7
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-08 15:28:24 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-08 16:43:53 +0000

    security/keychain: Update manpages path
    
    Move manpages to ${PREFIX}/share/man
    
    While here, remove useless REINPLACE_CMD
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 security/keychain/Makefile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/security/keychain/Makefile b/security/keychain/Makefile
index 59c3d14d2561..c116375d5bf6 100644
--- a/security/keychain/Makefile
+++ b/security/keychain/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	keychain
 PORTVERSION=	2.8.5
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	garga@FreeBSD.org
@@ -19,7 +20,7 @@ OPTIONS_DEFINE=	DOCS
 NO_BUILD=	yes
 
 PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/keychain.1.gz
+		share/man/man1/keychain.1.gz
 
 PORTDOCS=	ChangeLog README.md
 
@@ -27,13 +28,9 @@ PORTDOCS=	ChangeLog README.md
 RUN_DEPENDS+=	ssh-agent:security/openssh-portable
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e '1 s,^.*,#!/bin/sh,' \
-		${WRKSRC}/${PORTNAME}
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/keychain.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/keychain.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}