git: fd2d41c5599a - main - databases/mroonga: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 20:25:27 UTC
The branch main has been updated by bofh:

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

commit fd2d41c5599a04c19d959c5c98ebe435fc9b30da
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 14:55:37 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 20:25:04 +0000

    databases/mroonga: Moved man to share/man
---
 databases/mroonga/Makefile  | 2 ++
 databases/mroonga/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/databases/mroonga/Makefile b/databases/mroonga/Makefile
index 6d2c508ec098..26e014e5269e 100644
--- a/databases/mroonga/Makefile
+++ b/databases/mroonga/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mroonga
 PORTVERSION=	13.05
+PORTREVISION=	1
 CATEGORIES=	databases textproc
 MASTER_SITES=	http://packages.groonga.org/source/mroonga/
 
@@ -19,6 +20,7 @@ IGNORE_WITH_MYSQL=	105m 106m 1011m 81
 SHEBANG_FILES=	data/rpm/post.sh data/rpm/preun.sh
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-mysql-build="$$(cd ${PORTSDIR}/${_MYSQL_SERVER}; ${MAKE} -V BUILD_WRKSRC)" \
 		--with-mysql-config=${PREFIX}/bin/mysql_config \
 		--with-mysql-source="$$(cd ${PORTSDIR}/${_MYSQL_SERVER}; ${MAKE} -V WRKSRC)"
diff --git a/databases/mroonga/pkg-plist b/databases/mroonga/pkg-plist
index b1a1d5700b44..fb8cc2dcb8a4 100644
--- a/databases/mroonga/pkg-plist
+++ b/databases/mroonga/pkg-plist
@@ -2,8 +2,8 @@ lib/mysql/plugin/ha_mroonga.a
 lib/mysql/plugin/ha_mroonga.so
 lib/mysql/plugin/ha_mroonga.so.0
 lib/mysql/plugin/ha_mroonga.so.0.0.0
-man/ja/man1/mroonga.1.gz
-man/man1/mroonga.1.gz
+share/man/ja/man1/mroonga.1.gz
+share/man/man1/mroonga.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/en/html/_images/storage-mode.png
 %%PORTDOCS%%%%DOCSDIR%%/en/html/_images/wrapper-mode.png
 %%PORTDOCS%%%%DOCSDIR%%/en/html/_static/basic.css