git: 0b1a751e30b2 - main - devel/commit-patch: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 10:02:04 UTC
The branch main has been updated by bofh:

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

commit 0b1a751e30b2be18bfe6521f8ff0b8d0bcbdbafa
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 09:14:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 10:01:30 +0000

    devel/commit-patch: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/commit-patch/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/commit-patch/Makefile b/devel/commit-patch/Makefile
index 032a2832b892..349e0114de05 100644
--- a/devel/commit-patch/Makefile
+++ b/devel/commit-patch/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	commit-patch
 PORTVERSION=	2.6
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	lapo@lapo.it
@@ -22,14 +23,13 @@ GH_ACCOUNT=	caldwell
 NO_ARCH=	yes
 PLIST_FILES=	bin/commit-partial bin/commit-patch \
 		share/emacs/site-lisp/commit-patch-buffer.el \
-		man/man1/commit-partial.1.gz man/man1/commit-patch.1.gz
+		share/man/man1/commit-partial.1.gz share/man/man1/commit-patch.1.gz
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-		${REINPLACE_CMD} -e 's/share[/]man/man/' \
-			-e 's/PREFIX=/PREFIX?=/' \
+		${REINPLACE_CMD} -e 's/PREFIX=/PREFIX?=/' \
 			-e 's/$$(PREFIX)/$$(DESTDIR)$$(PREFIX)/' \
 			${WRKSRC}/Makefile