summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-06 01:09:49 +0000
committerjkh <jkh@FreeBSD.org>1994-10-06 01:09:49 +0000
commit2401216bf38a2f958928018b260a181d06c05fc4 (patch)
tree83d052c5563de9555b42bb2dafa2b752b368df40 /math
parent61383020f3aa5423f5461a5a069248ffb12d0d5a (diff)
downloadFreeBSD-ports-2401216bf38a2f958928018b260a181d06c05fc4.zip
FreeBSD-ports-2401216bf38a2f958928018b260a181d06c05fc4.tar.gz
Jean-Marc Zucconi's gnuplot port.
If Jean-Marc keeps this up, I'm simply going to have to have my own subdirectory for him - /usr/ports/jmz. :-) Submitted by: jmz
Diffstat (limited to 'math')
-rw-r--r--math/gnuplot/Makefile10
-rw-r--r--math/gnuplot/files/patch-aa95
-rw-r--r--math/gnuplot/pkg-comment1
-rw-r--r--math/gnuplot/pkg-descr30
-rw-r--r--math/gnuplot/pkg-plist10
5 files changed, 146 insertions, 0 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
new file mode 100644
index 0000000..bfaa75d
--- /dev/null
+++ b/math/gnuplot/Makefile
@@ -0,0 +1,10 @@
+DISTNAME= gnuplot
+DISTFILES= gnuplot3.5.tar.Z
+MASTER_SITES= ftp://ftp.dartmouth.edu/pub/gnuplot/
+
+pre-install:
+ @mkdir -p ${PREFIX}/bin
+ @mkdir -p ${PREFIX}/lib
+ @mkdir -p ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/math/gnuplot/files/patch-aa b/math/gnuplot/files/patch-aa
new file mode 100644
index 0000000..4366a1f
--- /dev/null
+++ b/math/gnuplot/files/patch-aa
@@ -0,0 +1,95 @@
+*** term/post.trm.orig Thu Sep 16 07:00:13 1993
+--- term/post.trm Wed Oct 5 02:54:47 1994
+***************
+*** 115,120 ****
+--- 115,185 ----
+ NULL
+ };
+
++ static char *psaccents=
++ "% Define the array ISOLatin1Encoding (which specifies how characters are\n\
++ % encoded for ISO-8859-1 fonts), if it isn't already present (Postscript\n\
++ % level 2 is supposed to define it, but level 1 doesn't).\n\
++ \n\
++ systemdict /ISOLatin1Encoding known not {\n\
++ /ISOLatin1Encoding [\n\
++ /space /space /space /space /space /space /space /space\n\
++ /space /space /space /space /space /space /space /space\n\
++ /space /space /space /space /space /space /space /space\n\
++ /space /space /space /space /space /space /space /space\n\
++ /space /exclam /quotedbl /numbersign /dollar /percent /ampersand\n\
++ /quoteright\n\
++ /parenleft /parenright /asterisk /plus /comma /minus /period /slash\n\
++ /zero /one /two /three /four /five /six /seven\n\
++ /eight /nine /colon /semicolon /less /equal /greater /question\n\
++ /at /A /B /C /D /E /F /G\n\
++ /H /I /J /K /L /M /N /O\n\
++ /P /Q /R /S /T /U /V /W\n\
++ /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore\n\
++ /quoteleft /a /b /c /d /e /f /g\n\
++ /h /i /j /k /l /m /n /o\n\
++ /p /q /r /s /t /u /v /w\n\
++ /x /y /z /braceleft /bar /braceright /asciitilde /space\n\
++ /space /space /space /space /space /space /space /space\n\
++ /space /space /space /space /space /space /space /space\n\
++ /dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent\n\
++ /dieresis /space /ring /cedilla /space /hungarumlaut /ogonek /caron\n\
++ /space /exclamdown /cent /sterling /currency /yen /brokenbar /section\n\
++ /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen\n\
++ /registered /macron\n\
++ /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph\n\
++ /periodcentered\n\
++ /cedillar /onesuperior /ordmasculine /guillemotright /onequarter\n\
++ /onehalf /threequarters /questiondown\n\
++ /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla\n\
++ /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex\n\
++ /Idieresis\n\
++ /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply\n\
++ /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn\n\
++ /germandbls\n\
++ /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla\n\
++ /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex\n\
++ /idieresis\n\
++ /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide\n\
++ /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn\n\
++ /ydieresis\n\
++ ] def\n\
++ } if\n\
++ \n\
++ % Override the setfont procedure with a new procedure that re-encodes\n\
++ % the font to use the ISO Latin-1 style. The body of this procedure\n\
++ % comes from Section 5.6.1 of the Postscript book.\n\
++ \n\
++ /realsetfont /setfont load def\n\
++ /setfont {\n\
++ dup length dict begin\n\
++ {1 index /FID ne {def} {pop pop} ifelse} forall\n\
++ /Encoding ISOLatin1Encoding def\n\
++ currentdict\n\
++ end\n\
++ /Temporary exch definefont\n\
++ realsetfont\n\
++ } bind def\n";
++
+ #define PS_XOFF 50 /* page offset in pts */
+ #define PS_YOFF 50
+
+***************
+*** 258,264 ****
+
+ for ( i=0; PS_header[i] != NULL; i++)
+ fprintf(outfile,"%s",PS_header[i]);
+! fprintf(outfile,"end\n%%%%EndProlog\n");
+ }
+
+
+--- 323,331 ----
+
+ for ( i=0; PS_header[i] != NULL; i++)
+ fprintf(outfile,"%s",PS_header[i]);
+! fprintf(outfile,"end\n");
+! fprintf (outfile, "%s", psaccents);
+! fprintf (outfile, "%%%%EndProlog\n");
+ }
+
+
diff --git a/math/gnuplot/pkg-comment b/math/gnuplot/pkg-comment
new file mode 100644
index 0000000..30a4b31
--- /dev/null
+++ b/math/gnuplot/pkg-comment
@@ -0,0 +1 @@
+Gnuplot - a command-driven interactive function plotting program. Version 3.5 \ No newline at end of file
diff --git a/math/gnuplot/pkg-descr b/math/gnuplot/pkg-descr
new file mode 100644
index 0000000..84817d8
--- /dev/null
+++ b/math/gnuplot/pkg-descr
@@ -0,0 +1,30 @@
+Gnuplot is a command-driven interactive function plotting program.
+
+Plots any number of functions, built up of C operators, C library
+functions, and some things C doesn't have like **, sgn(), etc. Also
+support for plotting data files, to compare actual data to
+theoretical curves.
+
+User-defined X and Y ranges (optional auto-ranging), smart axes
+scaling, smart tic marks.
+
+Labelling of X and Y axes.
+
+User-defined constants and functions.
+
+Support through a generalized graphics driver for AED 512, AED 767,
+BBN BitGraph, Commodore Amiga, Roland DXY800A, EEPIC, TeXDraw, EmTeX,
+Epson 60dpi printers, Epson LX-800, Fig, HP2623, HP2648, HP75xx, HPGL,
+HP LaserJet II, Imagen, Iris 4D, MS-DOS Kermit, Kyocera laser printer,
+LaTeX, NEC CP6 pinwriter, PostScript, QMS QUIC, ReGis (VT125 and
+VT2xx), SCO Xenix CGI, Selanar, Star color printer, Tandy DMP-130
+printer, Tek 401x, Tek 410x, Vectrix 384, VT like Tektronix emulator,
+Unix PC (ATT 3b1 or ATT 7300), unixplot, and X11. The PC version
+compiled by Microsoft C supports IBM CGA, EGA, VGA, Hercules, ATT
+6300, and Corona 325 graphics. The PC version compiled by Borland C++
+sup- ports IBM CGA, EGA, MCGA, VGA, Hercules and ATT 6300 graphics.
+Other devices can be added simply, but will require recompiling.
+
+Shell escapes and command line substitution.
+
+Output redirection.
diff --git a/math/gnuplot/pkg-plist b/math/gnuplot/pkg-plist
new file mode 100644
index 0000000..f3bc033
--- /dev/null
+++ b/math/gnuplot/pkg-plist
@@ -0,0 +1,10 @@
+@cd /usr/local
+@owner bin
+@mode 755
+bin/gnuplot
+bin/gnuplot_x11
+bin/lasergnu
+@mode 644
+lib/gnuplot.gih
+man/man1/gnuplot.1
+man/man1/lasergnu.1
OpenPOWER on IntegriCloud