From 486bdd6ef9e3eb5e0a48784e84bfdc460ac45a83 Mon Sep 17 00:00:00 2001 From: angelos Date: Sun, 17 May 1998 04:30:57 +0000 Subject: [PATCH] gnuplot port --- math/gnuplot/Makefile | 27 +++++++++++++++++++++++++++ math/gnuplot/files/md5 | 1 + math/gnuplot/patches/patch-aa | 27 +++++++++++++++++++++++++++ math/gnuplot/patches/patch-ab | 11 +++++++++++ math/gnuplot/patches/patch-ac | 11 +++++++++++ math/gnuplot/pkg/COMMENT | 1 + math/gnuplot/pkg/DESCR | 30 ++++++++++++++++++++++++++++++ math/gnuplot/pkg/PLIST | 6 ++++++ 8 files changed, 114 insertions(+) create mode 100644 math/gnuplot/Makefile create mode 100644 math/gnuplot/files/md5 create mode 100644 math/gnuplot/patches/patch-aa create mode 100644 math/gnuplot/patches/patch-ab create mode 100644 math/gnuplot/patches/patch-ac create mode 100644 math/gnuplot/pkg/COMMENT create mode 100644 math/gnuplot/pkg/DESCR create mode 100644 math/gnuplot/pkg/PLIST diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile new file mode 100644 index 00000000000..080a27bafdb --- /dev/null +++ b/math/gnuplot/Makefile @@ -0,0 +1,27 @@ +# OpenBSD makefile for: gnuplot +# Version required: beta336 +# Date created: May 16 1998 +# Whom: Angelos D. Keromytis +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/17 04:30:57 angelos Exp $ +# + +DISTNAME= gnuplot-beta336 +PKGNAME= gnuplot-336 +CATEGORIES= math graphics +MASTER_SITES= http://www.ipc.chiba-u.ac.jp/~yamaga/gnuplot%2B/3.6base/ + +MAINTAINER= angelos@openbsd.org + +LIB_DEPENDS= png\\.1\\.1:${PORTSDIR}/graphics/png + +WRKSRC= ${WRKDIR}/gnuplot +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ + --includedir=${PREFIX}/include --libdir=${PREFIX}/lib \ + --with-x --without-linux-vga \ + --with-gnu-readline --with-lasergnu --with-png + +MAN1= gnuplot.1 lasergnu.1 + +.include diff --git a/math/gnuplot/files/md5 b/math/gnuplot/files/md5 new file mode 100644 index 00000000000..aadcbf2d084 --- /dev/null +++ b/math/gnuplot/files/md5 @@ -0,0 +1 @@ +MD5 (gnuplot-beta336.tar.gz) = ac848528127e8582b1803a28b938ba43 diff --git a/math/gnuplot/patches/patch-aa b/math/gnuplot/patches/patch-aa new file mode 100644 index 00000000000..3a205bd3a19 --- /dev/null +++ b/math/gnuplot/patches/patch-aa @@ -0,0 +1,27 @@ +--- configure Mon May 26 18:28:46 1997 ++++ configure Sun Aug 31 23:26:12 1997 +@@ -1029,6 +1029,7 @@ + LASERGNU=lasergnu_noinstall + fi + ++LASERGNU=lasergnu_install + + maybe_linuxdriver= + # Check whether --with-linux-vga or --without-linux-vga was given. +@@ -3419,7 +3420,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lpng -lz $LIBS" ++LIBS="-L$libdir -lpng -lz $LIBS" + cat > conftest.$ac_ext < + extern gdFontPtr gdFontSmall; /* 6x12 */ + extern gdFontPtr gdFontLarge; /* 8x16 */ + extern gdFontPtr gdFontMediumBold; /* 7x13 */ diff --git a/math/gnuplot/pkg/COMMENT b/math/gnuplot/pkg/COMMENT new file mode 100644 index 00000000000..c2bae2cb16a --- /dev/null +++ b/math/gnuplot/pkg/COMMENT @@ -0,0 +1 @@ +A command-driven interactive function plotting program. diff --git a/math/gnuplot/pkg/DESCR b/math/gnuplot/pkg/DESCR new file mode 100644 index 00000000000..84817d8c7f5 --- /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 00000000000..46df64e0d05 --- /dev/null +++ b/math/gnuplot/pkg/PLIST @@ -0,0 +1,6 @@ +bin/gnuplot +bin/gnuplot_x11 +bin/lasergnu +share/gnuplot.gih +man/man1/gnuplot.1 +man/man1/lasergnu.1