git: dd471fa7d91b - main - graphics/imageindex: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 09:48:47 UTC
The branch main has been updated by bofh:

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

commit dd471fa7d91b7f03bb475e771bdb2dbba53c0256
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 09:14:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 09:48:07 +0000

    graphics/imageindex: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/imageindex/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/graphics/imageindex/Makefile b/graphics/imageindex/Makefile
index 3ca5409767a6..969d8c2ad4b0 100644
--- a/graphics/imageindex/Makefile
+++ b/graphics/imageindex/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	imageindex
 PORTVERSION=	2.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.edwinh.org/imageindex/release/ \
 		http://www.reynoldsnet.org/imageindex/release/
@@ -17,13 +17,10 @@ USE_PERL5=	run
 MAKE_ARGS+=	PERLPATH=${PERL} PREFIX=${STAGEDIR}${PREFIX}
 
 PLIST_FILES=	bin/imageindex bin/autocaption \
-		man/man1/imageindex.1.gz
+		share/man/man1/imageindex.1.gz
 PORTDOCS=	README
 OPTIONS_DEFINE=	DOCS
 
-post-patch:
-	${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}