aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-11-26 12:17:52 +0000
committerRene Ladan <rene@FreeBSD.org>2023-11-26 12:17:52 +0000
commita083d2961a7cc65b3bb70db22f0251ab3679b123 (patch)
tree22f48e6d053408c6c9e5e3de61e5fbbffcc4b808
parentcf2e68be50948f169076275cd5970f433cd90837 (diff)
downloadports-a083d2961a7cc65b3bb70db22f0251ab3679b123.tar.gz
ports-a083d2961a7cc65b3bb70db22f0251ab3679b123.zip
math/gri: Remove expired port
2023-11-26 math/gri: Last upstream release was in 2012 and gnuplot generates better results
-rw-r--r--MOVED1
-rw-r--r--math/Makefile1
-rw-r--r--math/gri/Makefile75
-rw-r--r--math/gri/distinfo2
-rw-r--r--math/gri/files/patch-doc__texinfo2HTML176
-rw-r--r--math/gri/files/patch-doc_gri.texi28
-rw-r--r--math/gri/files/patch-src_query.cc11
-rw-r--r--math/gri/pkg-descr11
-rw-r--r--math/gri/pkg-plist15
9 files changed, 1 insertions, 319 deletions
diff --git a/MOVED b/MOVED
index 8f335b3c5a8e..99b134606093 100644
--- a/MOVED
+++ b/MOVED
@@ -8089,3 +8089,4 @@ games/suyimazu|games/mizuma|2023-11-22|Project renamed
www/dfileserver||2023-11-22|Has expired: Obsolete, consider using www/darkhttpd
devel/sdts++||2023-11-22|Has expired: Last upstream release was in 2003 and both MASTER_SITES and WWW are unreachable
databases/postgis30||2023-11-22|Removed
+math/gri||2023-11-26|Has expired: Last upstream release was in 2012 and gnuplot generates better results
diff --git a/math/Makefile b/math/Makefile
index 5c1421c5fac7..7dbcbb77f5f7 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -380,7 +380,6 @@
SUBDIR += grace
SUBDIR += gravity
SUBDIR += gretl
- SUBDIR += gri
SUBDIR += grpn
SUBDIR += gsl
SUBDIR += half
diff --git a/math/gri/Makefile b/math/gri/Makefile
deleted file mode 100644
index b5cbe22e825c..000000000000
--- a/math/gri/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-PORTNAME= gri
-PORTVERSION= 2.12.23
-PORTREVISION= 13
-CATEGORIES= math
-MASTER_SITES= SF
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Extensible plotting language for producing scientific graphs
-WWW= https://gri.sourceforge.net/
-
-LICENSE= GPLv2
-
-DEPRECATED= Last upstream release was in 2012 and gnuplot generates better results
-EXPIRATION_DATE= 2023-11-26
-
-LIB_DEPENDS= libnetcdf.so:science/netcdf
-
-USES= cpe gmake localbase:ldflags readline shebangfix makeinfo tex
-CPE_VENDOR= gri_project
-USE_CXXSTD= c++14
-USE_TEX= formats:build dvipsk:build
-
-SHEBANG_FILES= doc/examples/FEM.pl src/gri_merge src/gri_unpage
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-FreeBSD
-
-INFO= gri
-PORTDOCS= *
-PORTEXAMPLES= *
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES}
-USES+= magick:6,build
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e \
- '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e \
- '/gzip/s|^|#| ; \
- /EXAMPLES_DIR/s|^|#|' ${WRKSRC}/doc/Makefile.in
-
-post-build:
-.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES}
- (cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
- ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
-.else
- (cd ${WRKSRC}/doc && makeinfo gri.texi)
-.endif
-
-post-install-DOCS-on:
- (cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
- ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
-
-post-install-DOCS-off:
- ${INSTALL_MAN} ${WRKSRC}/doc/gri-manpage.1 \
- ${STAGEDIR}${MANPREFIX}/man/man1/gri.1
- ${INSTALL_MAN} ${WRKSRC}/doc/gri_merge.1-skel \
- ${STAGEDIR}${MANPREFIX}/man/man1/gri_merge.1
- ${INSTALL_MAN} ${WRKSRC}/doc/gri_unpage.1-skel \
- ${STAGEDIR}${MANPREFIX}/man/man1/gri_unpage.1
- ${INSTALL_DATA} ${WRKSRC}/doc/gri.info* ${STAGEDIR}${PREFIX}/${INFO_PATH}
-
-post-install-EXAMPLES-on:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- (cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} model* *.dat *.gri e*.ps \
- ${STAGEDIR}${EXAMPLESDIR})
- (cd ${WRKSRC}/doc/examples \
- && ${INSTALL_SCRIPT} FEM.pl ${STAGEDIR}${EXAMPLESDIR})
-
-.include <bsd.port.mk>
diff --git a/math/gri/distinfo b/math/gri/distinfo
deleted file mode 100644
index 96b8a41ceceb..000000000000
--- a/math/gri/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gri-2.12.23.tar.gz) = a24e703f30250ed705c0a242aa59a24748259ea7355fca52152f367f45bfd2e7
-SIZE (gri-2.12.23.tar.gz) = 1668587
diff --git a/math/gri/files/patch-doc__texinfo2HTML b/math/gri/files/patch-doc__texinfo2HTML
deleted file mode 100644
index de3f36cc683f..000000000000
--- a/math/gri/files/patch-doc__texinfo2HTML
+++ /dev/null
@@ -1,176 +0,0 @@
---- doc/texinfo2HTML.orig 2009-12-12 18:11:23 UTC
-+++ doc/texinfo2HTML
-@@ -1,5 +1,8 @@
- #!/usr/bin/perl -w
-
-+use POSIX qw(ctime);
-+use Getopt::Std;
-+
- #$example_indent = " ";
- $example_indent = "";
-
-@@ -54,12 +57,10 @@ BUGS:
- the end is here} and more blah
- will not get the \@code{} item converted correctly.
- ";
--require "ctime.pl";
--require "getopts.pl";
-
- $debug = 0;
-
--die if !&Getopts('h');
-+die if !getopts('h');
- $print_help = 0;
- $print_help = $opt_h if $opt_h;
- if ($print_help) {
-@@ -120,7 +121,7 @@ while(get_a_line()) {
- next;
- }
- # Process image commands (NOT...it's there already)
-- if (/\@image{(.*)}/) {
-+ if (/\@image\{(.*)\}/) {
- #print "<img src=\"$1.gif\" border=\"1\">\n";
- next;
- }
-@@ -208,12 +209,12 @@ while(get_a_line()) {
- s,<,&lt;,og;
- # Special tweak to make 'Gri' look cooler.
- # s, Gri , G<FONT SIZE=-1>RI</FONT> ,og;
-- s,\@code{\@\@},\@code{TEXINFO2HTML-AT-AT},og;
-+ s,\@code\{\@\@\},\@code\{TEXINFO2HTML-AT-AT\},og;
- s,\@},TEXINFO2HTML-CLOSE-BRACE,og; # retain inside e.g. @code{}
- s,\@\@,TEXINFO2HTML-AT-AT,og;
-- s,\@{,{,og;
-- s,\@TeX{},TeX,og;
-- s,\@dots{},...,og;
-+ s,\@\{,\{,og;
-+ s,\@TeX\{\},TeX,og;
-+ s,\@dots\{\},...,og;
- # Put in place-holders for some accents. I should check for all
- # of them, but for now, I'm just kludging in a couple,
- # to solve an immediate problem and to serve as a place-holder
-@@ -237,18 +238,18 @@ while(get_a_line()) {
- }
- next;
- }
-- while (/\@url{([^}]*)}/) {
-+ while (/\@url\{([^}]*)\}/) {
- $the_url = $1;
-- s:\@url{[^}]*}:<a href="$the_url">\@code{$the_url}</a>:;
-+ s:\@url\{[^}]*}:<a href="$the_url">\@code{$the_url}</a>:;
- }
-- while (/\@uref{([^}]*)}/) {
-+ while (/\@uref\{([^}]*)\}/) {
- @items = split(/,/, $1);
- if ($#items == 0) {
-- s:\@uref{[^}]*}:<a href="$items[0]">$items[0]</a>:;
-+ s:\@uref\{[^}]*}:<a href="$items[0]">$items[0]</a>:;
- } elsif ($#items == 1) {
-- s:\@uref{[^}]*}:<a href="$items[0]">$items[1]</a>:;
-+ s:\@uref\{[^}]*}:<a href="$items[0]">$items[1]</a>:;
- } elsif ($#items == 2) {
-- s:\@uref{[^}]*}:\@code{$items[2]}:;
-+ s:\@uref\{[^}]*}:\@code{$items[2]}:;
- } else {
- die "Cannot have more than 3 items in a 'uref' at \"$_\"";
- }
-@@ -330,7 +331,7 @@ while(get_a_line()) {
- while(get_a_line()) {
- next if /\@sp/;
- next if /\@cindex/;
-- s|\@anchor{([^}]*)}|<a name=\"$1\"></a>|g;
-+ s|\@anchor\{([^}]*)}|<a name=\"$1\"></a>|g;
- &process_examples();
- # Handle HTML inserts
- if (/^\@c HTML (.*)/o) {
-@@ -346,10 +347,10 @@ while(get_a_line()) {
- }
- if (/\s*\@item\s*(.*)/o) {
- $the_item = $1;
-- $the_item =~ s:\@{:{:og;
-+ $the_item =~ s:\@\{:{:og;
- $the_item =~ s:\@}:}:og;
- $the_item =~ s:\@\@:\@:og;
-- $the_item =~ s:\@code{([^}]*)}:`<font color="$ex_color"><code>$1</code></font>':og;
-+ $the_item =~ s:\@code\{([^}]*)}:`<font color="$ex_color"><code>$1</code></font>':og;
- print "<dt> $start_item$the_item$end_item\n<dd>";
- } else {
- print "<p>" if (/^$/o);
-@@ -402,38 +403,38 @@ sub process_examples() {
- } else {
- s,\@value\{([^}]*)\},$value{$1},g; # Substitute set/value pair
- s,\@},},og;
-- s,\@{,{,og;
-+ s,\@\{,{,og;
- }
- }
-
-
- sub sub_refs {
-- die "line $. of file: cannot have multiple refs on one line" if (/\@[px]*ref{(.*)}(.*)\@[px]*ref{(.*)}/);
-+ die "line $. of file: cannot have multiple refs on one line" if (/\@[px]*ref\{(.*)}(.*)\@[px]*ref\{(.*)}/);
- # anchors
-- s|\@anchor{([^}]*)}|<a name=\"$1\"></a>|g;
-+ s|\@anchor\{([^}]*)}|<a name=\"$1\"></a>|g;
- # Change e.g.
- # @xref{Viewing}
- # into
- # <a href="#Viewing">see Viewing</a>
-
- #if (/\@ref/){print "AAA[$_]AAA\n";
-- s|\@ref{([^}]*)}|see <a href="#$1">$1</a>|g;
-+ s|\@ref\{([^}]*)}|see <a href="#$1">$1</a>|g;
- #print "BBB[$_]BBB\n";}
-
-- s|\@xref{([^}]*)}|see <a href="#$1">$1</a>|g;
-- s|\@pxref{([^}]*)}|see <a href="#$1">$1.</a>|g;
-- while (/\@url{([^}]*)}/) {
-+ s|\@xref\{([^}]*)}|see <a href="#$1">$1</a>|g;
-+ s|\@pxref\{([^}]*)}|see <a href="#$1">$1.</a>|g;
-+ while (/\@url\{([^}]*)}/) {
- $the_url = $1;
-- s:\@url{[^}]*}:<a href="$the_url">\@code{$the_url}</a>:;
-+ s:\@url\{[^}]*}:<a href="$the_url">\@code{$the_url}</a>:;
- }
-- while (/\@uref{([^}]*)}/) {
-+ while (/\@uref\{([^}]*)}/) {
- @items = split(/,/, $1);
- if ($#items == 0) {
-- s:\@uref{[^}]*}:<a href="$items[0]">$items[0]</a>:;
-+ s:\@uref\{[^}]*}:<a href="$items[0]">$items[0]</a>:;
- } elsif ($#items == 1) {
-- s:\@uref{[^}]*}:<a href="$items[0]">$items[1]</a>:;
-+ s:\@uref\{[^}]*}:<a href="$items[0]">$items[1]</a>:;
- } elsif ($#items == 2) {
-- s:\@uref{[^}]*}:\@code{$items[2]}:;
-+ s:\@uref\{[^}]*}:\@code{$items[2]}:;
- } else {
- die "Cannot have more than 3 items in a 'uref' at \"$_\"";
- }
-@@ -466,17 +467,17 @@ sub sub_headings {
- sub sub_emphasis {
- s,<<,&lt&lt,g;
- s,>>,&gt&gt,g;
-- s,\@emph{([^}]*)},<em>$1</em>,g;
-- s,\@strong{([^}]*)},<b>$1</b>,g;
-- s,\@footnote{([^}]*)}, [$1],g;
-- s,\@b{([^}]*)},<b>$1</b>,g;
-+ s,\@emph\{([^}]*)},<em>$1</em>,g;
-+ s,\@strong\{([^}]*)},<b>$1</b>,g;
-+ s,\@footnote\{([^}]*)}, [$1],g;
-+ s,\@b\{([^}]*)},<b>$1</b>,g;
-
-- s,\@code{([^}]*)},`<font color="$ex_color"><code>$1</code></font>',g;
-+ s,\@code\{([^}]*)},`<font color="$ex_color"><code>$1</code></font>',g;
- s,\@\@,\@,g;
-- s,\@samp{([^}]*)},`<font color="$ex_color"><samp>$1</samp></font>',g;
-- s,\@key{([^}]*)},`<font color="$ex_color"><kbd>$1</kbd></font>',g;
-- s,\@kbd{([^}]*)},`<font color="$ex_color"><kbd>$1</kbd></font>',g;
-- s,\@file{([^}]*)},`<font color="$ex_color"><samp>$1</samp></font>',g;
-+ s,\@samp\{([^}]*)},`<font color="$ex_color"><samp>$1</samp></font>',g;
-+ s,\@key\{([^}]*)},`<font color="$ex_color"><kbd>$1</kbd></font>',g;
-+ s,\@kbd\{([^}]*)},`<font color="$ex_color"><kbd>$1</kbd></font>',g;
-+ s,\@file\{([^}]*)},`<font color="$ex_color"><samp>$1</samp></font>',g;
- s,TEXINFO2HTML-CLOSE-BRACE,},g;
- s,TEXINFO2HTML-AT-AT,\@,g;
- s,TEXINFO2HTML-ACCENT-ACUTE-a,&#225,g;
diff --git a/math/gri/files/patch-doc_gri.texi b/math/gri/files/patch-doc_gri.texi
deleted file mode 100644
index 8b7003884ceb..000000000000
--- a/math/gri/files/patch-doc_gri.texi
+++ /dev/null
@@ -1,28 +0,0 @@
---- doc/gri.texi.orig 2011-07-06 14:10:17 UTC
-+++ doc/gri.texi
-@@ -38,6 +38,7 @@
- @comment *** End of HTML stuff ***
- @c
- @comment OVERRIDE some defaults in texinfo.tex
-+@documentencoding ISO-8859-1
- @iftex
- @message{}
- @message{gri.texi: overriding parskip, }
-@@ -18486,7 +18487,7 @@ Versions exist for MSDOS, windows, and L
- (Actually, the windows version is just the MSDOS version, which can be
- run inside an msdos window within windows-95, windows-NT, etc.)
-
--@subsubsection MSDOS Operating System
-+@subsection MSDOS Operating System
- @cindex compilation under MSDOS
- @cindex MSDOS compilation
-
-@@ -18543,7 +18544,7 @@ To view the output, use a PostScript vie
-
-
-
--@subsubsection LINUX Operating System
-+@subsection LINUX Operating System
- @cindex compilation under Linux
- @cindex linux compilation
- @cindex LINUX compilation
diff --git a/math/gri/files/patch-src_query.cc b/math/gri/files/patch-src_query.cc
deleted file mode 100644
index d071eabaf46a..000000000000
--- a/math/gri/files/patch-src_query.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/query.cc.orig 2018-09-01 10:32:12 UTC
-+++ src/query.cc
-@@ -56,7 +56,7 @@ queryCmd()
- if (!find_hint_and_def(hint, def)) {
- return false;
- }
-- def_word[0] = '\0';
-+ def_word[0] = NULL;
- chop_into_words(def, def_word, &def_words, NCHAR);
- // Strip off double-quotes form list of defaults
- for (unsigned int i = 0; i < def_words; i++) {
diff --git a/math/gri/pkg-descr b/math/gri/pkg-descr
deleted file mode 100644
index f2fe871d3a8f..000000000000
--- a/math/gri/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-Gri is a language for scientific graphics applications. By 'language' I mean
-that it is a command-driven application, as opposed to a click/point
-application. It is analogous to latex or tex, and shares the property that
-extensive power is the reward for tolerating a modest learning curve. Gri
-output is in industry-standard PostScript, suitable for incorporation in
-documents prepared by various text processors. Gri can make x-y graphs,
-contour-graphs, and image graphs. In addition to high-level capabilities, it
-has enough low-level capabilities to allow users to achieve a high degree of
-customization. Precise control is extended to all aspects of drawing, including
-line-widths, colors, and fonts. Text includes a subset of the tex language, so
-that it is easy to incorporate Greek letters and mathematical symbols in labels.
diff --git a/math/gri/pkg-plist b/math/gri/pkg-plist
deleted file mode 100644
index 485b524a5804..000000000000
--- a/math/gri/pkg-plist
+++ /dev/null
@@ -1,15 +0,0 @@
-bin/gri
-bin/gri_merge
-bin/gri_unpage
-info/gri.info
-info/gri.info-1
-info/gri.info-2
-info/gri.info-3
-man/man1/gri.1.gz
-man/man1/gri_merge.1.gz
-man/man1/gri_unpage.1.gz
-share/emacs/site-lisp/gri-mode.el
-%%DATADIR%%/gri.cmd
-%%DATADIR%%/logo.dat
-%%DATADIR%%/rgb.txt
-%%DATADIR%%/startup.msg