git: 73db3bc233da - main - benchmarks/tsung: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 13:24:09 UTC
The branch main has been updated by bofh:

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

commit 73db3bc233daf09a2b52d391d3b608b73edd5e49
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 12:49:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 13:23:43 +0000

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

diff --git a/benchmarks/tsung/Makefile b/benchmarks/tsung/Makefile
index b68593feef37..2e81677b42db 100644
--- a/benchmarks/tsung/Makefile
+++ b/benchmarks/tsung/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tsung
 DISTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	benchmarks sysutils
 MASTER_SITES=	http://tsung.erlang-projects.org/dist/
 
@@ -19,6 +20,7 @@ SHEBANG_FILES=	src/*.pl.in src/tsung-plotter/tsplot.py.in \
 		src/tsung-plotter/tsung/tsung.py
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
@@ -27,7 +29,7 @@ PORTEXAMPLES=	*
 OPTIONS_DEFINE=	EXAMPLES
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|MAN_DIR   = $$(datadir)/man/man1/|MAN_DIR   = $$(prefix)/man/man1/| ; \
+	@${REINPLACE_CMD} -e 's|MAN_DIR   = $$(datadir)/man/man1/|MAN_DIR   = $$(prefix)/share/man/man1/| ; \
 		s|CONFDIR   = $$(docdir)/examples|CONFDIR   = $$(prefix)/share/examples/tsung| ; \
 		s|install: doc|install: tsung doc|' \
 		${WRKSRC}/Makefile.in
diff --git a/benchmarks/tsung/pkg-plist b/benchmarks/tsung/pkg-plist
index f18b37d6a8b6..fec49bc27010 100644
--- a/benchmarks/tsung/pkg-plist
+++ b/benchmarks/tsung/pkg-plist
@@ -282,9 +282,9 @@ lib/tsung/tsung_recorder-%%PORTVERSION%%/src/ts_proxy_recorder.erl
 lib/tsung/tsung_recorder-%%PORTVERSION%%/src/ts_proxy_webdav.erl
 lib/tsung/tsung_recorder-%%PORTVERSION%%/src/ts_recorder_sup.erl
 lib/tsung/tsung_recorder-%%PORTVERSION%%/src/tsung_recorder.erl
-man/man1/tsplot.1.gz
-man/man1/tsung-recorder.1.gz
-man/man1/tsung.1.gz
+share/man/man1/tsplot.1.gz
+share/man/man1/tsung-recorder.1.gz
+share/man/man1/tsung.1.gz
 %%DATADIR%%/templates/footer.thtml
 %%DATADIR%%/templates/graph.thtml
 %%DATADIR%%/templates/graph_dy.thtml