git: 09dcb5e87c12 - main - devel/valgrind: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 15:40:02 UTC
The branch main has been updated by bofh:

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

commit 09dcb5e87c12b8caa6bb409eab288c3aaf28f2c0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 15:00:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 15:00:41 +0000

    devel/valgrind: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/valgrind/Makefile  |  2 ++
 devel/valgrind/pkg-plist | 20 ++++++++++----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index 4698238c73ef..b4c02ee013d3 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	valgrind
 PORTVERSION=	3.22.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	SOURCEWARE/valgrind
@@ -20,6 +21,7 @@ SHEBANG_FILES=	callgrind/callgrind_annotate.in callgrind/callgrind_control.in \
 		cachegrind/cg_merge.in cachegrind/cg_diff.in \
 		cachegrind/cg_annotate.in
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV+=	ac_cv_path_PERL=${PERL}
 
 SSP_UNSAFE=	yes
diff --git a/devel/valgrind/pkg-plist b/devel/valgrind/pkg-plist
index c2e725a96c33..fe851319847a 100644
--- a/devel/valgrind/pkg-plist
+++ b/devel/valgrind/pkg-plist
@@ -292,15 +292,15 @@ libexec/valgrind/valgrind-monitor.py
 %%X86%%libexec/valgrind/vgpreload_massif-x86-freebsd.so
 %%AMD64%%libexec/valgrind/vgpreload_memcheck-amd64-freebsd.so
 %%X86%%libexec/valgrind/vgpreload_memcheck-x86-freebsd.so
-%%MANPAGES%%man/man1/callgrind_annotate.1.gz
-%%MANPAGES%%man/man1/callgrind_control.1.gz
-%%MANPAGES%%man/man1/cg_annotate.1.gz
-%%MANPAGES%%man/man1/cg_diff.1.gz
-%%MANPAGES%%man/man1/cg_merge.1.gz
-%%MANPAGES%%man/man1/ms_print.1.gz
-%%MANPAGES%%man/man1/valgrind-di-server.1.gz
-%%MANPAGES%%man/man1/valgrind-listener.1.gz
-%%MANPAGES%%man/man1/valgrind.1.gz
-%%MANPAGES%%man/man1/vgdb.1.gz
+%%MANPAGES%%share/man/man1/callgrind_annotate.1.gz
+%%MANPAGES%%share/man/man1/callgrind_control.1.gz
+%%MANPAGES%%share/man/man1/cg_annotate.1.gz
+%%MANPAGES%%share/man/man1/cg_diff.1.gz
+%%MANPAGES%%share/man/man1/cg_merge.1.gz
+%%MANPAGES%%share/man/man1/ms_print.1.gz
+%%MANPAGES%%share/man/man1/valgrind-di-server.1.gz
+%%MANPAGES%%share/man/man1/valgrind-listener.1.gz
+%%MANPAGES%%share/man/man1/valgrind.1.gz
+%%MANPAGES%%share/man/man1/vgdb.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/valgrind_manual.pdf
 %%PORTDOCS%%%%DOCSDIR%%/valgrind_manual.ps