git: 4346d3f6c346 - main - textproc/enchant: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 28 Jan 2024 18:33:35 UTC
The branch main has been updated by bofh:

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

commit 4346d3f6c3466bf85e8873d5d8c87c224d42407e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-28 17:51:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-28 18:33:10 +0000

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

diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index daaa569a8735..9037bee78583 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	enchant
 PORTVERSION=	1.6.0
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	textproc gnome
 MASTER_SITES=	http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
 DIST_SUBDIR=	gnome2
@@ -10,6 +10,7 @@ COMMENT=	Dictionary/spellchecking framework
 WWW=		https://www.abisource.com/projects/enchant/
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 USES=		gmake gnome libtool pathfix pkgconfig
 USE_GNOME=	glib20
diff --git a/textproc/enchant/pkg-plist b/textproc/enchant/pkg-plist
index aca5810dbf23..1e8dd8ac0af8 100644
--- a/textproc/enchant/pkg-plist
+++ b/textproc/enchant/pkg-plist
@@ -18,5 +18,5 @@ lib/libenchant.so
 lib/libenchant.so.1
 lib/libenchant.so.1.6.0
 libdata/pkgconfig/enchant.pc
-man/man1/enchant.1.gz
+share/man/man1/enchant.1.gz
 %%DATADIR%%/enchant1.ordering