git: 8039f3f15229 - main - misc/lesspipe: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 00:06:59 UTC
The branch main has been updated by bofh:

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

commit 8039f3f152295075524b67e15e280492e6f42853
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 23:01:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 00:06:44 +0000

    misc/lesspipe: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 misc/lesspipe/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/misc/lesspipe/Makefile b/misc/lesspipe/Makefile
index dc281af37fd3..4d0733a12386 100644
--- a/misc/lesspipe/Makefile
+++ b/misc/lesspipe/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	lesspipe
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.06
+PORTREVISION=	1
 CATEGORIES=	misc
 
 MAINTAINER=	slaven@rezic.de
@@ -26,7 +27,7 @@ CONFIGURE_ARGS=	--yes --prefix=${PREFIX}
 SHEBANG_FILES=	archive_color code2color lesscomplete lesspipe.sh
 
 PLIST_FILES=	bin/archive_color bin/code2color bin/lesscomplete bin/lesspipe.sh \
-		etc/bash_completion.d/less_completion man/man1/lesspipe.1.gz \
+		etc/bash_completion.d/less_completion share/man/man1/lesspipe.1.gz \
 		share/zsh/site-functions/_less
 
 SUB_FILES=	pkg-message
@@ -40,6 +41,6 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/less_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
 	${INSTALL_DATA} ${WRKSRC}/_less ${STAGEDIR}${PREFIX}/share/zsh/site-functions
-	${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>