git: 7ace09cc7151 - main - manprefix: move manpages to share/man

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Wed, 24 Jan 2024 10:57:35 UTC
The branch main has been updated by makc:

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

commit 7ace09cc71519311b2c85522bf889b77f2aedb55
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2024-01-24 10:57:09 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2024-01-24 10:57:09 +0000

    manprefix: move manpages to share/man
---
 games/warmux/Makefile        |  3 ++-
 games/warmux/pkg-plist       |  2 +-
 math/matio/Makefile          |  2 ++
 math/matio/pkg-plist         | 54 ++++++++++++++++++++++----------------------
 textproc/stardict3/Makefile  |  3 ++-
 textproc/stardict3/pkg-plist |  2 +-
 6 files changed, 35 insertions(+), 31 deletions(-)

diff --git a/games/warmux/Makefile b/games/warmux/Makefile
index 29abcc49d5f4..032d22a08452 100644
--- a/games/warmux/Makefile
+++ b/games/warmux/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	warmux
 DISTVERSION=	11.04.1
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	games
 MASTER_SITES=	http://ftp.nluug.nl/ibiblio/distributions/slitaz/sources/packages-cooking/w/ \
 		http://mirror.clarkson.edu/slitaz/sources/packages/w/ \
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libxml++-2.6.so:textproc/libxml++26 \
 		libcurl.so:ftp/curl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	cxx_present=yes
 USES=		compiler dos2unix gmake pkgconfig sdl tar:bzip2
 USE_SDL=	sdl image mixer ttf gfx net
diff --git a/games/warmux/pkg-plist b/games/warmux/pkg-plist
index 4f1f566ad773..253a1e76707b 100644
--- a/games/warmux/pkg-plist
+++ b/games/warmux/pkg-plist
@@ -2,7 +2,6 @@ bin/warmux
 %%SERVER%%bin/warmux-index-server
 bin/warmux-list-games
 %%SERVER%%bin/warmux-server
-man/man6/warmux.6.gz
 share/applications/warmux.desktop
 %%NLS%%share/locale/bg/LC_MESSAGES/warmux.mo
 %%NLS%%share/locale/bs/LC_MESSAGES/warmux.mo
@@ -40,6 +39,7 @@ share/applications/warmux.desktop
 %%NLS%%share/locale/uk/LC_MESSAGES/warmux.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/warmux.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/warmux.mo
+share/man/man6/warmux.6.gz
 share/pixmaps/warmux_128x128.png
 %%DATADIR%%/.nomedia
 %%DATADIR%%/authors.dtd
diff --git a/math/matio/Makefile b/math/matio/Makefile
index 3ac3477f9e62..de2db4745b40 100644
--- a/math/matio/Makefile
+++ b/math/matio/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	matio
 PORTVERSION=	1.5.26
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	SF
 
@@ -14,6 +15,7 @@ USES=		7z compiler:c11 cpe libtool pathfix
 CPE_VENDOR=	matio_project
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 PLIST_SUB=	SHLIB_VER=11.1.1
diff --git a/math/matio/pkg-plist b/math/matio/pkg-plist
index 316ffff31072..8be3cedda044 100644
--- a/math/matio/pkg-plist
+++ b/math/matio/pkg-plist
@@ -6,30 +6,30 @@ lib/libmatio.so
 lib/libmatio.so.11
 lib/libmatio.so.%%SHLIB_VER%%
 libdata/pkgconfig/matio.pc
-man/man3/Mat_Close.3.gz
-man/man3/Mat_CreateVer.3.gz
-man/man3/Mat_GetDir.3.gz
-man/man3/Mat_GetFileAccessMode.3.gz
-man/man3/Mat_GetFilename.3.gz
-man/man3/Mat_GetHeader.3.gz
-man/man3/Mat_GetLibraryVersion.3.gz
-man/man3/Mat_GetVersion.3.gz
-man/man3/Mat_Open.3.gz
-man/man3/Mat_Rewind.3.gz
-man/man3/Mat_VarAddStructField.3.gz
-man/man3/Mat_VarCreate.3.gz
-man/man3/Mat_VarCreateStruct.3.gz
-man/man3/Mat_VarDelete.3.gz
-man/man3/Mat_VarFree.3.gz
-man/man3/Mat_VarGetNumberOfFields.3.gz
-man/man3/Mat_VarGetSize.3.gz
-man/man3/Mat_VarGetStructFieldnames.3.gz
-man/man3/Mat_VarGetStructs.3.gz
-man/man3/Mat_VarGetStructsLinear.3.gz
-man/man3/Mat_VarPrint.3.gz
-man/man3/Mat_VarRead.3.gz
-man/man3/Mat_VarReadInfo.3.gz
-man/man3/Mat_VarReadNext.3.gz
-man/man3/Mat_VarReadNextInfo.3.gz
-man/man3/Mat_VarWrite.3.gz
-man/man3/Mat_VarWriteAppend.3.gz
+share/man/man3/Mat_Close.3.gz
+share/man/man3/Mat_CreateVer.3.gz
+share/man/man3/Mat_GetDir.3.gz
+share/man/man3/Mat_GetFileAccessMode.3.gz
+share/man/man3/Mat_GetFilename.3.gz
+share/man/man3/Mat_GetHeader.3.gz
+share/man/man3/Mat_GetLibraryVersion.3.gz
+share/man/man3/Mat_GetVersion.3.gz
+share/man/man3/Mat_Open.3.gz
+share/man/man3/Mat_Rewind.3.gz
+share/man/man3/Mat_VarAddStructField.3.gz
+share/man/man3/Mat_VarCreate.3.gz
+share/man/man3/Mat_VarCreateStruct.3.gz
+share/man/man3/Mat_VarDelete.3.gz
+share/man/man3/Mat_VarFree.3.gz
+share/man/man3/Mat_VarGetNumberOfFields.3.gz
+share/man/man3/Mat_VarGetSize.3.gz
+share/man/man3/Mat_VarGetStructFieldnames.3.gz
+share/man/man3/Mat_VarGetStructs.3.gz
+share/man/man3/Mat_VarGetStructsLinear.3.gz
+share/man/man3/Mat_VarPrint.3.gz
+share/man/man3/Mat_VarRead.3.gz
+share/man/man3/Mat_VarReadInfo.3.gz
+share/man/man3/Mat_VarReadNext.3.gz
+share/man/man3/Mat_VarReadNextInfo.3.gz
+share/man/man3/Mat_VarWrite.3.gz
+share/man/man3/Mat_VarWriteAppend.3.gz
diff --git a/textproc/stardict3/Makefile b/textproc/stardict3/Makefile
index e8ea65c49f0c..499c7df7d20e 100644
--- a/textproc/stardict3/Makefile
+++ b/textproc/stardict3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	stardict
 PORTVERSION=	3.0.6
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	textproc
 MASTER_SITES=	SF/stardict-4/${PORTVERSION}
 DIST_SUBDIR=	stardict
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libsigc-2.0.so:devel/libsigc++20 \
 RUN_DEPENDS=	xdg-open:devel/xdg-utils
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--disable-festival \
 		--disable-gucharmap \
 		--disable-espeak \
diff --git a/textproc/stardict3/pkg-plist b/textproc/stardict3/pkg-plist
index 829ca58a83cc..18d34fa02fb8 100644
--- a/textproc/stardict3/pkg-plist
+++ b/textproc/stardict3/pkg-plist
@@ -9,7 +9,6 @@ lib/stardict/plugins/stardict_wiki_parsedata.so
 lib/stardict/plugins/stardict_wordnet.so
 lib/stardict/plugins/stardict_wordnet_parsedata.so
 lib/stardict/plugins/stardict_xdxf_parsedata.so
-man/man1/stardict.1.gz
 share/applications/stardict.desktop
 share/locale/ar/LC_MESSAGES/stardict.mo
 share/locale/be/LC_MESSAGES/stardict.mo
@@ -37,6 +36,7 @@ share/locale/uk/LC_MESSAGES/stardict.mo
 share/locale/vi/LC_MESSAGES/stardict.mo
 share/locale/zh_CN/LC_MESSAGES/stardict.mo
 share/locale/zh_TW/LC_MESSAGES/stardict.mo
+share/man/man1/stardict.1.gz
 share/pixmaps/stardict.png
 share/stardict/dic/stardict-dict/res/huzheng.png
 share/stardict/dic/stardict-dict/res/huzheng_redhat.png