aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-22 12:49:18 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-22 13:23:43 +0000
commit73db3bc233daf09a2b52d391d3b608b73edd5e49 (patch)
treec606ab65ecb9bf210df3e44b6d660c0ad420804e
parentb2aa2644bbd67dee86423e20113bdb1b3625f5fd (diff)
downloadports-73db3bc233daf09a2b52d391d3b608b73edd5e49.tar.gz
ports-73db3bc233daf09a2b52d391d3b608b73edd5e49.zip
benchmarks/tsung: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--benchmarks/tsung/Makefile4
-rw-r--r--benchmarks/tsung/pkg-plist6
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