git: 2756d70fca24 - main - multimedia/smpeg2: Move man page to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 29 Mar 2024 08:21:40 UTC
The branch main has been updated by yasu:

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

commit 2756d70fca2494db9ebd7e7c06d05efd62bd42d5
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-29 08:10:29 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-29 08:10:29 +0000

    multimedia/smpeg2: Move man page to share/man
    
    Approved by:    portmgr (blanket)
---
 multimedia/smpeg2/Makefile  | 3 ++-
 multimedia/smpeg2/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/multimedia/smpeg2/Makefile b/multimedia/smpeg2/Makefile
index bcfb5ee952ad..a74121eda156 100644
--- a/multimedia/smpeg2/Makefile
+++ b/multimedia/smpeg2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	smpeg2
 PORTVERSION=	2.0.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia
 MASTER_SITES=	https://www.libsdl.org/projects/smpeg/release/ \
 		https://distfiles.macports.org/smpeg2/
@@ -15,6 +15,7 @@ LICENSE_COMB=	multi
 USES=		compiler:features libtool sdl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INSTALL_TARGET=	install-strip
 CFLAGS+=	${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/}
 USE_SDL=	sdl2
diff --git a/multimedia/smpeg2/pkg-plist b/multimedia/smpeg2/pkg-plist
index 4bdbbb4dc2e1..8000bbb5ca07 100644
--- a/multimedia/smpeg2/pkg-plist
+++ b/multimedia/smpeg2/pkg-plist
@@ -15,5 +15,5 @@ lib/libsmpeg2-2.0.so.0
 lib/libsmpeg2-2.0.so.0.0.0
 lib/libsmpeg2.a
 lib/libsmpeg2.so
-%%PLAYMPEG%%man/man1/plaympeg.1.gz
+%%PLAYMPEG%%share/man/man1/plaympeg.1.gz
 share/aclocal/smpeg2.m4