git: 91ba69ac22d6 - main - audio/libopenmpt: Move man pages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 20:48:33 UTC
The branch main has been updated by ehaupt:

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

commit 91ba69ac22d66625663ec713718f2b7ecebf889f
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-23 20:48:26 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-23 20:48:31 +0000

    audio/libopenmpt: Move man pages to share/man
---
 audio/libopenmpt/Makefile  | 3 +++
 audio/libopenmpt/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/audio/libopenmpt/Makefile b/audio/libopenmpt/Makefile
index 3f2ff9d28c99..0cad63f2cd06 100644
--- a/audio/libopenmpt/Makefile
+++ b/audio/libopenmpt/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	libopenmpt
 DISTVERSION=	0.7.3
 DISTVERSIONSUFFIX=	+release.autotools
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://lib.openmpt.org/files/libopenmpt/src/ \
 		LOCAL/ehaupt
@@ -20,6 +21,8 @@ CPE_VENDOR=	openmpt
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=     ${PREFIX}/share
+
 CONFIGURE_ARGS=	--disable-doxygen-doc \
 		--with-mpg123 \
 		--with-vorbis \
diff --git a/audio/libopenmpt/pkg-plist b/audio/libopenmpt/pkg-plist
index 8ed2a7ea4339..5e6056c20194 100644
--- a/audio/libopenmpt/pkg-plist
+++ b/audio/libopenmpt/pkg-plist
@@ -17,7 +17,7 @@ lib/libopenmpt.so
 lib/libopenmpt.so.0
 lib/libopenmpt.so.0.4.4
 libdata/pkgconfig/libopenmpt.pc
-%%OPENMPT123%%man/man1/openmpt123.1.gz
+%%OPENMPT123%%share/man/man1/openmpt123.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/libopenmpt_example_c_mem.c