View | Details | Raw Unified | Return to bug 177452 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-14 / +11 lines)
Lines 6-12 Link Here
6
MASTER_SITES=	SF
6
MASTER_SITES=	SF
7
7
8
MAINTAINER=	glewis@FreeBSD.org
8
MAINTAINER=	glewis@FreeBSD.org
9
COMMENT=	A command-driven interactive function plotting program
9
COMMENT=	Command-line driven graphing utility
10
10
11
GNU_CONFIGURE=	yes
11
GNU_CONFIGURE=	yes
12
CONFIGURE_ARGS+=--with-lasergnu \
12
CONFIGURE_ARGS+=--with-lasergnu \
Lines 17-32 Link Here
17
		--with-bitmap-terminals
17
		--with-bitmap-terminals
18
MAKE_JOBS_SAFE=	yes
18
MAKE_JOBS_SAFE=	yes
19
19
20
OPTIONS_DEFINE=	CAIRO GD GRIDBOX PDF PLOT TETEX THINSPLINES WX X11
20
OPTIONS_DEFINE=	CAIRO EXAMPLES GD GRIDBOX PDF PLOT TETEX THINSPLINES WX X11
21
CAIRO_DESC=		Enable CAIRO support
22
GD_DESC=		Enable GD support
23
GRIDBOX_DESC=		Use the gridbox optimization for hidden3d
21
GRIDBOX_DESC=		Use the gridbox optimization for hidden3d
24
PDF_DESC=		Enable PDF support
25
PLOT_DESC=		Enable plot support
22
PLOT_DESC=		Enable plot support
26
TETEX_DESC=		Search kpsexpand at run-time
23
TETEX_DESC=		Search kpsexpand at run-time
27
THINSPLINES_DESC=	Enable thin plate splines for grids in dgrid3d
24
THINSPLINES_DESC=	Enable thin plate splines for grids in dgrid3d
28
WX_DESC=		Enable WX support
25
WX_DESC=		Enable WX support
29
X11_DESC=		Enable X11 support
30
26
31
OPTIONS_DEFAULT=CAIRO GD PDF PLOT TETEX WX X11
27
OPTIONS_DEFAULT=CAIRO GD PDF PLOT TETEX WX X11
32
28
Lines 35-48 Link Here
35
.include <bsd.port.options.mk>
31
.include <bsd.port.options.mk>
36
32
37
.if ${PORT_OPTIONS:MCAIRO}
33
.if ${PORT_OPTIONS:MCAIRO}
38
LIB_DEPENDS+=		cairo.2:${PORTSDIR}/graphics/cairo
34
LIB_DEPENDS+=		cairo:${PORTSDIR}/graphics/cairo
39
USE_GNOME+=		pango
35
USE_GNOME+=		pango
40
.else
36
.else
41
CONFIGURE_ARGS+=	--without-cairo
37
CONFIGURE_ARGS+=	--without-cairo
42
.endif
38
.endif
43
39
44
.if ${PORT_OPTIONS:MGD}
40
.if ${PORT_OPTIONS:MGD}
45
LIB_DEPENDS+=		gd.4:${PORTSDIR}/graphics/gd
41
LIB_DEPENDS+=		gd:${PORTSDIR}/graphics/gd
46
CONFIGURE_ARGS+=	--with-gd=${LOCALBASE}
42
CONFIGURE_ARGS+=	--with-gd=${LOCALBASE}
47
.else
43
.else
48
CONFIGURE_ARGS+=	--without-gd
44
CONFIGURE_ARGS+=	--without-gd
Lines 53-59 Link Here
53
.endif
49
.endif
54
50
55
.if ${PORT_OPTIONS:MPDF}
51
.if ${PORT_OPTIONS:MPDF}
56
LIB_DEPENDS+=		pdf.6:${PORTSDIR}/print/pdflib
52
LIB_DEPENDS+=		pdf:${PORTSDIR}/print/pdflib
57
CONFIGURE_ARGS+=	--with-pdf=${LOCALBASE}
53
CONFIGURE_ARGS+=	--with-pdf=${LOCALBASE}
58
.else
54
.else
59
CONFIGURE_ARGS+=	--without-pdf
55
CONFIGURE_ARGS+=	--without-pdf
Lines 61-67 Link Here
61
57
62
.if ${PORT_OPTIONS:MPLOT}
58
.if ${PORT_OPTIONS:MPLOT}
63
USE_XORG+=		xaw xmu xt xext
59
USE_XORG+=		xaw xmu xt xext
64
LIB_DEPENDS+=		plot.4:${PORTSDIR}/graphics/plotutils
60
LIB_DEPENDS+=		plot:${PORTSDIR}/graphics/plotutils
65
CONFIGURE_ARGS+=	--with-plot=${LOCALBASE}
61
CONFIGURE_ARGS+=	--with-plot=${LOCALBASE}
66
.else
62
.else
67
CONFIGURE_ARGS+=	--without-plot
63
CONFIGURE_ARGS+=	--without-plot
Lines 98-107 Link Here
98
PLIST_SUB+=		X11="@comment "
94
PLIST_SUB+=		X11="@comment "
99
.endif
95
.endif
100
96
101
.if !defined(NOPORTDOCS)
97
.if ${PORT_OPTIONS:MDOCS}
102
PORTDOCS=	*
98
PORTDOCS=	*
103
.endif
99
.endif
104
.if !defined(NOPORTEXAMPLES)
100
.if ${PORT_OPTIONS:MEXAMPLES}
105
PORTEXAMPLES=	*
101
PORTEXAMPLES=	*
106
.endif
102
.endif
107
103
Lines 114-120 Link Here
114
		's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
110
		's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
115
	@${FIND} "${WRKSRC}" -name '*.orig' -delete
111
	@${FIND} "${WRKSRC}" -name '*.orig' -delete
116
112
117
.if !defined(NOPORTDOCS)
113
.if ${PORT_OPTIONS:MDOCS}
118
post-build:
114
post-build:
119
	@cd ${WRKSRC}/docs && ${MAKE} groff
115
	@cd ${WRKSRC}/docs && ${MAKE} groff
120
.endif
116
.endif
Lines 126-132 Link Here
126
	cd ${WRKSRC}/demo && ${FIND} . \
122
	cd ${WRKSRC}/demo && ${FIND} . \
127
		| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
123
		| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
128
.endif
124
.endif
129
.if !defined(NOPORTDOCS)
125
126
.if ${PORT_OPTIONS:MDOCS}
130
	@${MKDIR} ${DOCSDIR}/psdoc
127
	@${MKDIR} ${DOCSDIR}/psdoc
131
	cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \
128
	cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \
132
		gnuplot.ps ${DOCSDIR}
129
		gnuplot.ps ${DOCSDIR}
(-)pkg-descr (-29 / +16 lines)
Lines 1-32 Link Here
1
Gnuplot is a command-driven interactive function plotting program.
1
Gnuplot is a portable multi-platform command-line driven graphing utility. It
2
was originally created to allow scientists and students to visualize
3
mathematical functions and data interactively, but has grown to support many
4
non-interactive uses such as web scripting. It is also used as a plotting
5
engine by third-party applications like Octave. Gnuplot has been supported and
6
under active development since 1986.
2
7
3
Plots any number of functions, built up of C operators, C library
8
Gnuplot supports many types of plots in either 2D or 3D. It can draw using
4
functions, and some things C doesn't have like **, sgn(), etc.  Also
9
lines, points, boxes, contours, vector fields, surfaces, and various
5
support for plotting data files, to compare actual data to
10
associated text. It also supports various specialized plot types. Gnuplot
6
theoretical curves.
11
supports many different types of output: interactive screen terminals (with
12
mouse and hotkey input), direct output to pen plotters or modern printers, and
13
output to many file formats (eps, emf, fig, jpeg, LaTeX, pdf, png, postscript,
14
...). Gnuplot is easily extensible to include new output modes. Recent
15
additions include interactive terminals based on wxWidgets (usable on multiple
16
platforms), and Qt.  Mouseable plots embedded in web pages can be generated
17
using the svg or HTML5 canvas terminal drivers.
7
18
8
User-defined X and Y ranges (optional auto-ranging), smart axes
9
scaling, smart tic marks.
10
11
Labelling of X and Y axes.
12
13
User-defined constants and functions.
14
15
Support through a generalized graphics driver for AED 512, AED 767,
16
BBN BitGraph, Commodore Amiga, Roland DXY800A, EEPIC, TeXDraw, EmTeX,
17
Epson 60dpi printers, Epson LX-800, Fig, HP2623, HP2648, HP75xx, HPGL,
18
HP LaserJet II, Imagen, Iris 4D, MS-DOS Kermit, Kyocera laser printer,
19
LaTeX, NEC CP6 pinwriter, PostScript, QMS QUIC, ReGis (VT125 and
20
VT2xx), SCO Xenix CGI, Selanar, Star color printer, Tandy DMP-130
21
printer, Tek 401x, Tek 410x, Vectrix 384, VT like Tektronix emulator,
22
Unix PC (ATT 3b1 or ATT 7300), unixplot, and X11.  The PC version
23
compiled by Microsoft C supports IBM CGA, EGA, VGA, Hercules, ATT
24
6300, and Corona 325 graphics.  The PC version compiled by Borland C++
25
sup- ports IBM CGA, EGA, MCGA, VGA, Hercules and ATT 6300 graphics.
26
Other devices can be added simply, but will require recompiling.
27
28
Shell escapes and command line substitution.
29
30
Output redirection.
31
32
WWW: http://www.gnuplot.info/
19
WWW: http://www.gnuplot.info/

Return to bug 177452