git: 22ae616d446f - main - audio/ocp: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:43:43 UTC
The branch main has been updated by ehaupt:

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

commit 22ae616d446f807b22ee0335087f6b97ca2ef3d4
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 16:43:13 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:25 +0000

    audio/ocp: Move manpages to share/man
---
 audio/ocp/Makefile  | 5 ++++-
 audio/ocp/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index aea2fff7e112..d48ff259c4ba 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ocp
 PORTVERSION=	0.2.106
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://stian.cubic.org/ocp/
@@ -99,6 +99,9 @@ TIMIDITY_CFG=	${LOCALBASE}/share/timidity/timidity.cfg
 CFLAGS+=	-Wno-error=incompatible-function-pointer-types
 .endif
 
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index 1110df27c986..065e574d7004 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -20,7 +20,7 @@ lib/ocp/autoload/95-playym.so
 lib/ocp/autoload/freverb.so
 lib/ocp/autoload/ireverb.so
 lib/ocp/libocp.so
-man/man1/ocp.1.gz
+share/man/man1/ocp.1.gz
 share/mime/audio/x-a2m.xml
 share/mime/audio/x-adl.xml
 share/mime/audio/x-adlib-midi.xml