gnuplot port
This commit is contained in:
parent
26d25a0d5d
commit
486bdd6ef9
27
math/gnuplot/Makefile
Normal file
27
math/gnuplot/Makefile
Normal file
@ -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 <bsd.port.mk>
|
1
math/gnuplot/files/md5
Normal file
1
math/gnuplot/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gnuplot-beta336.tar.gz) = ac848528127e8582b1803a28b938ba43
|
27
math/gnuplot/patches/patch-aa
Normal file
27
math/gnuplot/patches/patch-aa
Normal file
@ -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 <<EOF
|
||||
#line 3425 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -3450,6 +3451,7 @@
|
||||
#define HAVE_LIBPNG 1
|
||||
EOF
|
||||
TERMLIBS="$TERMLIBS -lpng -lz"
|
||||
+ LDFLAGS="$LDFLAGS -L$libdir"
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS -I$includedir"
|
||||
for ac_hdr in png.h zlib.h
|
||||
do
|
11
math/gnuplot/patches/patch-ab
Normal file
11
math/gnuplot/patches/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Sun Jan 12 13:32:41 1997
|
||||
+++ Makefile.in Sun Jan 12 13:34:53 1997
|
||||
@@ -330,7 +330,7 @@
|
||||
@LINUXSUID@
|
||||
|
||||
lasergnu_install: lasergnu docs/lasergnu.1
|
||||
- $(INSTALL_PROGRAM) $(srcdir)/lasergnu $(bindir)/lasergnu
|
||||
+ $(INSTALL) -m 555 $(srcdir)/lasergnu $(bindir)/lasergnu
|
||||
$(INSTALL_DATA) $(srcdir)/docs/lasergnu.1 $(mandir)/lasergnu.1
|
||||
|
||||
lasergnu_noinstall:
|
11
math/gnuplot/patches/patch-ac
Normal file
11
math/gnuplot/patches/patch-ac
Normal file
@ -0,0 +1,11 @@
|
||||
--- term/gif.trm.orig Mon Jul 21 22:26:10 1997
|
||||
+++ term/gif.trm Mon Jul 21 22:26:43 1997
|
||||
@@ -79,7 +79,7 @@
|
||||
TERM_PUBLIC int GIF_text_angle __PROTO((int ang));
|
||||
TERM_PUBLIC void GIF_reset __PROTO((void));
|
||||
|
||||
-#include "gd.h"
|
||||
+#include <gd/gd.h>
|
||||
extern gdFontPtr gdFontSmall; /* 6x12 */
|
||||
extern gdFontPtr gdFontLarge; /* 8x16 */
|
||||
extern gdFontPtr gdFontMediumBold; /* 7x13 */
|
1
math/gnuplot/pkg/COMMENT
Normal file
1
math/gnuplot/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
A command-driven interactive function plotting program.
|
30
math/gnuplot/pkg/DESCR
Normal file
30
math/gnuplot/pkg/DESCR
Normal file
@ -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.
|
6
math/gnuplot/pkg/PLIST
Normal file
6
math/gnuplot/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
bin/gnuplot
|
||||
bin/gnuplot_x11
|
||||
bin/lasergnu
|
||||
share/gnuplot.gih
|
||||
man/man1/gnuplot.1
|
||||
man/man1/lasergnu.1
|
Loading…
Reference in New Issue
Block a user