git: e7bba902c7b2 - main - audio/lmms: fix pkg-plist use share/man

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Mon, 16 May 2022 06:57:26 UTC
The branch main has been updated by lbartoletti:

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

commit e7bba902c7b26fe7cf88941a1a15c7cecdcb086b
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-04-14 18:02:25 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-05-16 06:49:44 +0000

    audio/lmms: fix pkg-plist use share/man
    
    Approved by:    portmgr (blanket)
---
 audio/lmms/Makefile  | 1 -
 audio/lmms/pkg-plist | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile
index 8aa7c3b73f57..0c8799aef1fd 100644
--- a/audio/lmms/Makefile
+++ b/audio/lmms/Makefile
@@ -71,7 +71,6 @@ post-patch:
 		${WRKSRC}/src/core/LadspaManager.cpp
 	@${REINPLACE_CMD} -e 's/lib64/lib/' \
 		${WRKSRC}/cmake/modules/DetectMachine.cmake
-	@${REINPLACE_CMD} 's,share/man/,man/,g' ${WRKSRC}/src/CMakeLists.txt
 
 post-patch-OSS-off:
 	@${REINPLACE_CMD} \
diff --git a/audio/lmms/pkg-plist b/audio/lmms/pkg-plist
index 37e82a1a4ebb..e7ff5cae7365 100644
--- a/audio/lmms/pkg-plist
+++ b/audio/lmms/pkg-plist
@@ -273,7 +273,7 @@ lib/lmms/libvibedstrings.so
 lib/lmms/libwatsyn.so
 lib/lmms/libwaveshaper.so
 lib/lmms/libzynaddsubfx.so
-man/man1/lmms.1.gz
+share/man/man1/lmms.1.gz
 share/applications/lmms.desktop
 share/bash-completion/completions/lmms
 share/icons/hicolor/128x128/apps/lmms.png