git: 3311fb35ebd4 - main - multimedia/makemkv: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 17 Mar 2024 12:28:27 UTC
The branch main has been updated by eduardo:

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

commit 3311fb35ebd40ffed8ee2bc781c79a6edff2587f
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-17 11:33:51 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-17 12:28:11 +0000

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

diff --git a/multimedia/makemkv/Makefile b/multimedia/makemkv/Makefile
index cb241b81bcfb..2c62425152bf 100644
--- a/multimedia/makemkv/Makefile
+++ b/multimedia/makemkv/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	makemkv
 DISTVERSION=	1.17.6
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.makemkv.com/download/:makemkv \
 		http://www.makemkv.com/download/old/:makemkv \
@@ -110,7 +111,7 @@ pre-install:
 
 post-install:
 		${INSTALL_MAN} ${FILESDIR}/makemkvcon.1 \
-			${STAGEDIR}${PREFIX}/man/man1
+			${STAGEDIR}${PREFIX}/share/man/man1
 		cd ${WRKSRC_bin}; \
 		${MKDIR} tmp; \
 		${ECHO_CMD} accepted > tmp/eula_accepted; \
diff --git a/multimedia/makemkv/pkg-plist b/multimedia/makemkv/pkg-plist
index 3854b6309a3a..dbc5b50a858b 100644
--- a/multimedia/makemkv/pkg-plist
+++ b/multimedia/makemkv/pkg-plist
@@ -5,11 +5,11 @@ bin/sdftool
 lib/makemkv/libdriveio.so.0
 lib/makemkv/libmakemkv.so.1
 lib/makemkv/libmmbd.so.0
-man/man1/makemkvcon.1.gz
 sbin/update-makemkv-drives
 share/MakeMKV/appdata.tar
 share/MakeMKV/blues.jar
 share/MakeMKV/blues.policy
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/update-makemkv-key.sh
+share/man/man1/makemkvcon.1.gz
 @postexec update-makemkv-drives
 @preunexec rm -fr %%LINUXBASE%%/etc/makemkv