git: bf5d018c1254 - main - textproc/enchant2: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 23:07:31 UTC
The branch main has been updated by bofh:

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

commit bf5d018c12546846039325957cca44bf5b813a86
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 20:36:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 23:07:04 +0000

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

diff --git a/textproc/enchant2/Makefile b/textproc/enchant2/Makefile
index a88bf0c761bc..e3263f928dd5 100644
--- a/textproc/enchant2/Makefile
+++ b/textproc/enchant2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	enchant
 PORTVERSION=	2.2.15
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	textproc gnome
 MASTER_SITES=	https://github.com/AbiWord/enchant/releases/download/v${PORTVERSION}/
 PKGNAMESUFFIX=	2
@@ -16,6 +16,7 @@ USES=		compiler:c++11-lib gmake gnome libtool localbase pathfix \
 		pkgconfig
 USE_GNOME=	glib20
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--without-applespell \
 		--without-voikko
diff --git a/textproc/enchant2/pkg-plist b/textproc/enchant2/pkg-plist
index 6e2d45b7db3f..6b4be5d91b51 100644
--- a/textproc/enchant2/pkg-plist
+++ b/textproc/enchant2/pkg-plist
@@ -18,6 +18,6 @@ lib/libenchant-2.so
 lib/libenchant-2.so.2
 lib/libenchant-2.so.%%LIBVERSION%%
 libdata/pkgconfig/enchant-2.pc
-man/man1/enchant-2.1.gz
-man/man1/enchant-lsmod-2.1.gz
+share/man/man1/enchant-2.1.gz
+share/man/man1/enchant-lsmod-2.1.gz
 %%DATADIR%%/enchant.ordering