git: fa4877667268 - main - editors/le: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 11:51:34 UTC
The branch main has been updated by eduardo:

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

commit fa4877667268094a4b5bc95b4dd64f643b201a58
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-07 10:04:48 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-07 11:51:21 +0000

    editors/le: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 editors/le/Makefile  | 2 ++
 editors/le/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/editors/le/Makefile b/editors/le/Makefile
index 7c9babade19d..d3c803e84423 100644
--- a/editors/le/Makefile
+++ b/editors/le/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	le
 PORTVERSION=	1.16.8
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	http://lav.yar.ru/download/${PORTNAME}/ \
 		ZI
@@ -15,6 +16,7 @@ USES=		localbase ncurses perl5 tar:bzip2
 USE_PERL5=	build
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 MAKE_JOBS_UNSAFE=	yes
 
diff --git a/editors/le/pkg-plist b/editors/le/pkg-plist
index 3731ba76107b..7c67a46d85a9 100644
--- a/editors/le/pkg-plist
+++ b/editors/le/pkg-plist
@@ -1,6 +1,5 @@
 bin/le
 @comment lib/charset.alias
-man/man1/le.1.gz
 @comment share/applications/le.desktop
 @comment share/icons/hicolor/48x48/apps/le-icon.png
 %%DATADIR%%/colors-black
@@ -56,3 +55,4 @@ man/man1/le.1.gz
 %%DATADIR%%/syntax.d/texinfo
 %%DATADIR%%/syntax.d/txt2tags
 %%DATADIR%%/syntax.d/verilog
+share/man/man1/le.1.gz