git: 3d4aec720cf0 - 2024Q1 - editors/emacs: Moved man to share/man

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Tue, 26 Mar 2024 23:01:33 UTC
The branch 2024Q1 has been updated by ashish:

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

commit 3d4aec720cf08800f361316b1d5717d64ee064b4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-28 12:39:07 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-03-26 23:00:52 +0000

    editors/emacs: Moved man to share/man
    
    Approved by:    portmgr (blanket)
    
    (cherry picked from commit 6f6aba4b3090b91deacc6577d8ae18f988f3d7d5)
---
 editors/emacs/Makefile  |  2 ++
 editors/emacs/pkg-plist | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 8730100d3cf7..07b646670ed8 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	emacs
 DISTVERSION=	29.2
+PORTREVISION=	1
 PORTEPOCH=	3
 CATEGORIES=	editors
 MASTER_SITES=	GNU
@@ -33,6 +34,7 @@ USES=		cpe gmake localbase:ldflags ncurses pkgconfig tar:xz
 CPE_VENDOR=	gnu
 
 GNU_CONFIGURE=		yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=		--disable-build-details \
 			--localstatedir=/var \
 			--without-gconf \
diff --git a/editors/emacs/pkg-plist b/editors/emacs/pkg-plist
index b4f922e724ef..02b2dbca8e59 100644
--- a/editors/emacs/pkg-plist
+++ b/editors/emacs/pkg-plist
@@ -8,11 +8,11 @@ include/emacs-module.h
 libexec/emacs/%%EMACS_VER%%/%%GNU_HOST%%/hexl
 libexec/emacs/%%EMACS_VER%%/%%GNU_HOST%%/movemail
 libexec/emacs/%%EMACS_VER%%/%%GNU_HOST%%/rcs2log
-man/man1/ctags.1.gz
-man/man1/ebrowse.1.gz
-man/man1/emacs.1.gz
-man/man1/emacsclient.1.gz
-man/man1/etags.1.gz
+share/man/man1/ctags.1.gz
+share/man/man1/ebrowse.1.gz
+share/man/man1/emacs.1.gz
+share/man/man1/emacsclient.1.gz
+share/man/man1/etags.1.gz
 share/applications/emacs.desktop
 share/applications/emacs-mail.desktop
 share/applications/emacsclient.desktop