git: 0d28d9956a27 - main - sysutils/ledit: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 11 Mar 2024 21:48:44 UTC
The branch main has been updated by bofh:

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

commit 0d28d9956a27c976f78ce717d2021f388bfcdf63
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-03-11 21:46:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-03-11 21:48:32 +0000

    sysutils/ledit: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/ledit/Makefile  | 4 ++--
 sysutils/ledit/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sysutils/ledit/Makefile b/sysutils/ledit/Makefile
index 8dbcab6f22a6..dc7451c36f6c 100644
--- a/sysutils/ledit/Makefile
+++ b/sysutils/ledit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ledit
 PORTVERSION=	2.04
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cristal.inria.fr/%SUBDIR%/ \
 		http://pauillac.inria.fr/%SUBDIR%/
@@ -26,7 +26,7 @@ OPTIONS_DEFINE=	DOCS
 do-configure:
 	${REINPLACE_CMD} -e '/^BINDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \
 			-e '/^LIBDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \
-			-e '/^MANDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \
+			-e '/^MANDIR=/s|/usr/local|${STAGEDIR}${PREFIX}/share|' \
 			${WRKSRC}/Makefile
 
 post-install:
diff --git a/sysutils/ledit/pkg-plist b/sysutils/ledit/pkg-plist
index 2934c983a0cc..0d163c9db28f 100644
--- a/sysutils/ledit/pkg-plist
+++ b/sysutils/ledit/pkg-plist
@@ -1,4 +1,4 @@
 bin/ledit
-man/man1/ledit.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/README
+share/man/man1/ledit.1.gz