git: 8511d4fa57aa - main - graphics/bsd-plotutils: Fix manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Jul 2025 17:14:31 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8511d4fa57aa3bdfede95aa9fbe170cd60d8f6fe
commit 8511d4fa57aa3bdfede95aa9fbe170cd60d8f6fe
Author: Keith White <kwhite.uottawa@gmail.com>
AuthorDate: 2025-07-11 17:11:41 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-07-11 17:14:20 +0000
graphics/bsd-plotutils: Fix manual page
The man page for plot(1) indicates that a space is required between "-T"
and "terminal", this is not the case as it stands. No space is allowed.
i.e.: "-Tdumb" is correct "-T dumb" is not.
PR: 281715
Approved by: maintainer timeout (8+ months)
---
graphics/bsd-plotutils/Makefile | 2 +-
graphics/bsd-plotutils/files/patch-plot_plot.1 | 11 +++++++++++
graphics/bsd-plotutils/files/patch-plot_plot.sh | 11 +++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/graphics/bsd-plotutils/Makefile b/graphics/bsd-plotutils/Makefile
index 840dda35df1e..920e97f4fbca 100644
--- a/graphics/bsd-plotutils/Makefile
+++ b/graphics/bsd-plotutils/Makefile
@@ -1,6 +1,6 @@
PORTNAME= bsd-plotutils
DISTVERSION= 1.4.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
MAINTAINER= toranktto@gmail.com
diff --git a/graphics/bsd-plotutils/files/patch-plot_plot.1 b/graphics/bsd-plotutils/files/patch-plot_plot.1
new file mode 100644
index 000000000000..d1fa77263b52
--- /dev/null
+++ b/graphics/bsd-plotutils/files/patch-plot_plot.1
@@ -0,0 +1,11 @@
+--- plot/plot.1.orig 2019-02-09 03:42:21 UTC
++++ plot/plot.1
+@@ -13,7 +13,7 @@
+ .Sh SYNOPSIS
+ .Nm plot
+ .Oo
+-.Op Fl T Ar terminal
++.Op Fl T Ns Ar terminal
+ .Oo
+ .Ar
+ .Sh DESCRIPTION
diff --git a/graphics/bsd-plotutils/files/patch-plot_plot.sh b/graphics/bsd-plotutils/files/patch-plot_plot.sh
new file mode 100644
index 000000000000..9c1907843a6b
--- /dev/null
+++ b/graphics/bsd-plotutils/files/patch-plot_plot.sh
@@ -0,0 +1,11 @@
+--- plot/plot.sh.orig 2019-02-09 03:42:21 UTC
++++ plot/plot.sh
+@@ -3,6 +3,8 @@ case $1 in
+ PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/libexec:/usr/libexec
+
+ case $1 in
++-T) t=-T$2
++ shift; shift;;
+ -T*) t=$1
+ shift ;;
+ *) t=-T$TERM