git: f9b2725442d4 - main - emulators/dolphin-emu: Sanitize MANPREFIX

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

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

commit f9b2725442d4dfbdff102016d62be5b725da2e03
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-16 11:01:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-16 11:57:59 +0000

    emulators/dolphin-emu: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 emulators/dolphin-emu/Makefile  | 5 ++---
 emulators/dolphin-emu/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/emulators/dolphin-emu/Makefile b/emulators/dolphin-emu/Makefile
index cb2b88272584..1f04bf857124 100644
--- a/emulators/dolphin-emu/Makefile
+++ b/emulators/dolphin-emu/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dolphin-emu
 PORTVERSION=	5.0.19870
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	emulators
 
 MAINTAINER=	martymac@FreeBSD.org
@@ -69,8 +69,7 @@ CMAKE_ARGS+=	-DUSE_UPNP:BOOL=ON \
 		-DENABLE_PULSEAUDIO:BOOL=ON \
 		-DUSE_DISCORD_PRESENCE:BOOL=OFF \
 		-DUSE_MGBA:BOOL=OFF \
-		-DENABLE_AUTOUPDATE:BOOL=OFF \
-		-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man
+		-DENABLE_AUTOUPDATE:BOOL=OFF
 MAKE_ENV+=	DESTDIR="${STAGEDIR}"
 
 # XXX Fix build on archs where 'unsigned long' is 32bit
diff --git a/emulators/dolphin-emu/pkg-plist b/emulators/dolphin-emu/pkg-plist
index f7fd6530f280..53c212a233de 100644
--- a/emulators/dolphin-emu/pkg-plist
+++ b/emulators/dolphin-emu/pkg-plist
@@ -1,8 +1,8 @@
 bin/dolphin-emu
 bin/dolphin-emu-nogui
 bin/dolphin-tool
-man/man6/dolphin-emu-nogui.6.gz
-man/man6/dolphin-emu.6.gz
+share/man/man6/dolphin-emu-nogui.6.gz
+share/man/man6/dolphin-emu.6.gz
 share/applications/dolphin-emu.desktop
 %%DATADIR%%/sys/GC/dsp_coef.bin
 %%DATADIR%%/sys/GC/dsp_rom.bin