git: b229795991d8 - main - audio/libadplug: Move manpages to share/man

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

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

commit b229795991d833563e5b880f1eef89b3f98082b8
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 16:21:09 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:24 +0000

    audio/libadplug: Move manpages to share/man
---
 audio/libadplug/Makefile  | 9 ++++++---
 audio/libadplug/pkg-plist | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/audio/libadplug/Makefile b/audio/libadplug/Makefile
index 2afa73563134..e44b451beb16 100644
--- a/audio/libadplug/Makefile
+++ b/audio/libadplug/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	adplug
-PORTVERSION=	2.3.3
 DISTVERSIONPREFIX=	${PORTNAME}-
+DISTVERSION=	2.3.3
+PORTREVISION=	1
 CATEGORIES=	audio
 PKGNAMEPREFIX=	lib
 
@@ -14,12 +15,11 @@ LIB_DEPENDS=	libbinio.so:devel/libbinio
 
 USES=		autoreconf compiler:c++11-lang cpe libtool makeinfo pathfix \
 		pkgconfig
+CPE_VENDOR=	adplug_project
 USE_CSTD=	gnu89
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 
-CPE_VENDOR=	adplug_project
-
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--enable-maintainer-mode
 
@@ -28,4 +28,7 @@ INSTALL_TARGET=	install-strip
 INFO=		libadplug
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 .include <bsd.port.mk>
diff --git a/audio/libadplug/pkg-plist b/audio/libadplug/pkg-plist
index 0768d7e2722a..1af4a317aed8 100644
--- a/audio/libadplug/pkg-plist
+++ b/audio/libadplug/pkg-plist
@@ -76,4 +76,4 @@ lib/libadplug-%%PORTVERSION%%.so.0.0.0
 lib/libadplug.a
 lib/libadplug.so
 libdata/pkgconfig/adplug.pc
-man/man1/adplugdb.1.gz
+share/man/man1/adplugdb.1.gz