git: ac8812fb4a48 - main - textproc/link-grammar: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 08:06:44 UTC
The branch main has been updated by bofh:

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

commit ac8812fb4a4836d90b129eb4d1488271f6c38553
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:58:59 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:58:59 +0000

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

diff --git a/textproc/link-grammar/Makefile b/textproc/link-grammar/Makefile
index b06f2a6cab5f..34a4a9312190 100644
--- a/textproc/link-grammar/Makefile
+++ b/textproc/link-grammar/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	link-grammar
 DISTVERSION=	5.10.5
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
 
@@ -14,6 +15,7 @@ USES=		compiler:c++11-lib dos2unix gmake libtool localbase ncurses \
 		pathfix pkgconfig sqlite
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-maintainer-mode \
 		--with-regexlib=pcre2 \
 		--disable-python-bindings
diff --git a/textproc/link-grammar/pkg-plist b/textproc/link-grammar/pkg-plist
index c6490a59abb5..6074ba87cafa 100644
--- a/textproc/link-grammar/pkg-plist
+++ b/textproc/link-grammar/pkg-plist
@@ -546,5 +546,5 @@ libdata/pkgconfig/link-grammar.pc
 %%DATADIR%%/vn/4.0.dict
 %%DATADIR%%/vn/4.0.knowledge
 %%DATADIR%%/vn/4.0.regex
-man/man1/link-generator.1.gz
-man/man1/link-parser.1.gz
+share/man/man1/link-generator.1.gz
+share/man/man1/link-parser.1.gz