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,43 +1,43 @@ PORTNAME= bsd-plotutils DISTVERSION= 1.4.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MAINTAINER= toranktto@gmail.com COMMENT= Traditional plotting utilities WWW= https://github.com/Toranktto/bsd-plotutils LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= Toranktto USE_LDCONFIG= yes CONFLICTS_INSTALL= plotutils MAKE_ARGS= MANDIR="${PREFIX}/share/man/man" OPTIONS_DEFINE= FORTRAN OPTIONS_SUB= yes FORTRAN_DESC= FORTRAN 77 support FORTRAN_USES= fortran .include .if defined(NO_PROFILE) || ${OPSYS} == FreeBSD PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .endif post-patch: @${REINPLACE_CMD} -e "s/py27plot//g" ${WRKSRC}/libplot/bindings/Makefile @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' ${WRKSRC}/graph/graph.c post-patch-FORTRAN-on: @${REINPLACE_CMD} -e "s/f77plot//g" ${WRKSRC}/libplot/bindings/Makefile .include 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