git: 19bf1fdff080 - main - multimedia/vlc: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 11:49:55 UTC
The branch main has been updated by bofh:

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

commit 19bf1fdff08045c710accb927fbbd16f30cd0d1f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 11:30:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 11:49:30 +0000

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

diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index f1cbb0925f30..41fc56ab179c 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vlc
 DISTVERSION=	3.0.20
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	4
 CATEGORIES=	multimedia audio net www
 MASTER_SITES=	https://get.videolan.org/${PORTNAME}/${DISTVERSION:S/a$//}/ \
@@ -46,6 +46,7 @@ USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--enable-avcodec --enable-avformat --enable-dvbpsi \
 		--enable-fontconfig --enable-freetype --enable-libgcrypt \
diff --git a/multimedia/vlc/pkg-plist b/multimedia/vlc/pkg-plist
index 4b4388bacfdd..65b62d70adc5 100644
--- a/multimedia/vlc/pkg-plist
+++ b/multimedia/vlc/pkg-plist
@@ -111,8 +111,8 @@ lib/libvlccore.so.9
 lib/libvlccore.so.9.0.1
 libdata/pkgconfig/libvlc.pc
 libdata/pkgconfig/vlc-plugin.pc
-man/man1/vlc-wrapper.1.gz
-man/man1/vlc.1.gz
+share/man/man1/vlc-wrapper.1.gz
+share/man/man1/vlc.1.gz
 share/applications/vlc.desktop
 share/icons/hicolor/128x128/apps/vlc-kb.png
 share/icons/hicolor/128x128/apps/vlc-xmas.png