1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= FORTRAN/C scientific graphic library
8 HOMEPAGE= http://www.astro.caltech.edu/~tjp/pgplot/
12 SITES[main]= ftp://ftp.astro.caltech.edu/pub/pgplot/
13 DISTFILE[1]= pgplot522.tar.gz:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 USES= png shebangfix perl:build
24 XORG_COMPONENTS= x11 xt
28 FPC_EQUIVALENT= graphics/pgplot
29 SHEBANG_FILES= makehtml
33 ${REINPLACE_CMD} -e 's|png_ptr->jmpbuf|png_jmpbuf(png_ptr)|' \
34 ${WRKSRC}/drivers/pndriv.c
35 ${REINPLACE_CMD} -e 's|/usr/local/pgplot|${PREFIX}/share/pgplot|g' \
36 ${WRKSRC}/src/grgfil.f
37 ${CP} ${FILESDIR}/* ${WRKSRC}/
38 ${CP} ${WRKSRC}/src/*.inc ${WRKSRC}/
41 .for s in flib clib bin doc
42 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
43 Makefile.${s} ${_MAKE_JOBS} ${MAKE_ARGS}
48 ${INSTALL_PROGRAM} pgxwin_server pgdisp ${STAGEDIR}${PREFIX}/bin &&
49 ${INSTALL_DATA} *.a ${STAGEDIR}${PREFIX}/lib &&
50 ${INSTALL_LIB} *.so.5* ${STAGEDIR}${PREFIX}/lib &&
51 ${INSTALL_DATA} cpgplot.h ${STAGEDIR}${PREFIX}/include
52 .for f in libcpgplot.so libpgplot.so
53 ${LN} -sf ${f}.5 ${STAGEDIR}${PREFIX}/lib/${f}
55 ${MKDIR} ${STAGEDIR}${PREFIX}/share/pgplot
56 cd ${WRKSRC} && ${INSTALL_DATA} grfont.dat ${STAGEDIR}${PREFIX}/share/pgplot
57 ${MKDIR} ${STAGEDIR}${STD_DOCDIR}
58 ${CP} ${WRKSRC}/pgdispd/aaaread.me ${WRKSRC}/readme.pgdisp
60 ${INSTALL_DATA} cpg/cpgplot.doc pgplot-routines.tex \
61 pgplot.doc pgplot.html readme.pgdisp rgb.txt \
62 ${STAGEDIR}${STD_DOCDIR}
63 ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
65 ${INSTALL_DATA} Makefile.demo cpg/cpgdemo.c examples/pgdemo*.f \
66 ${STAGEDIR}${STD_EXAMPLESDIR}
68 [FILE:408:descriptions/desc.primary]
69 PGPLOT is a Fortran subroutine package for drawing graphs on a variety
70 of display devices. For more details, see the manual ``PGPLOT Graphics
71 Subroutine Library'', available from T. J. Pearson.
73 The CPGPLOT library adds an intermediate level of wrapper functions
74 between C programs and the PGPLOT library. These functions hide the
75 system dependencies of calling PGPLOT behind a system independent
80 a5799ff719a510d84d26df4ae7409ae61fe66477e3f1e8820422a9a4727a5be4 1197397 pgplot522.tar.gz
83 [FILE:140:manifests/plist.primary]
97 [FILE:37:manifests/plist.docs]
98 @comment manifest is empty, mistake??
100 [FILE:37:manifests/plist.examples]
101 @comment manifest is empty, mistake??
103 [FILE:1127:patches/patch-64bit-drivers]
104 --- drivers/gidriv.f.orig 1998-05-13 21:05:05.000000000 -0400
105 +++ drivers/gidriv.f 2011-12-07 16:57:04.000000000 -0500
107 C Note: for 64-bit operating systems, change the following
108 C declaration to INTEGER*8:
110 - INTEGER PIXMAP, WORK
111 + INTEGER*8 PIXMAP, WORK
113 SAVE UNIT, IC, CTABLE, NPICT, MAXIDX, BX, BY, PIXMAP, FILENM
115 --- drivers/ppdriv.f.orig 1998-05-13 21:04:29.000000000 -0400
116 +++ drivers/ppdriv.f 2011-12-07 16:57:39.000000000 -0500
118 C Note: for 64-bit operating systems, change the following
119 C declaration to INTEGER*8:
124 SAVE UNIT, IC, CVAL, CTABLE, BX, BY, PIXMAP, NPICT, CDEFLT
126 --- drivers/wddriv.f.orig 1998-05-13 21:03:53.000000000 -0400
127 +++ drivers/wddriv.f 2011-12-07 16:56:29.000000000 -0500
129 C Note: for 64-bit operating systems, change the following
130 C declaration to INTEGER*8:
135 SAVE UNIT, IC, CTABLE, NPICT, MAXIDX, BX, BY, PIXMAP, FILENM
139 [FILE:283:patches/patch-pgdispd_proccom.c]
140 --- pgdispd/proccom.c.orig Sat Sep 28 23:09:02 2002
141 +++ pgdispd/proccom.c Sat Sep 28 23:09:27 2002
143 #include <sys/types.h>
144 #include <netinet/in.h>
147 +#if !defined(VMS) && !defined(__FreeBSD__) && !defined(__DragonFly__)
153 [FILE:765:files/Makefile.bin]
155 LIBS= -L${LOCALBASE}/lib -lX11 -lm
156 XINCL= -I${LOCALBASE}/include
158 CFLAGS+= ${XINCL} -DPGDISP
161 PGDISP_ROUTINES= cleanup.o pgdisp.o figcurs.o getdata.o getvisuals.o \
162 handlexevent.o proccom.o resdb.o exposelgwin.o getcolors.o initlgluts.o \
163 initlgwin.o initlock.o initwmattr.o mainloop.o resizelgwin.o \
164 returnbuf.o waitevent.o updatelgtitle.o
166 all: grfont.dat pgxwin_server pgdisp
168 grfont.dat: fonts/grfont.txt fonts/pgpack.f
169 ${FC} ${FFLAGS} ${LDFLAGS} -o pgpack fonts/pgpack.f
170 ./pgpack <fonts/grfont.txt
172 pgxwin_server: ${DRVDIR}/pgxwin_server.c
173 ${CC} ${CFLAGS} ${LDFLAGS} -o pgxwin_server ${DRVDIR}/pgxwin_server.c \
176 pgdisp: ${PGDISP_ROUTINES}
177 ${CC} ${CFLAGS} ${LDFLAGS} -o pgdisp ${PGDISP_ROUTINES} ${LIBS}
180 [FILE:2647:files/Makefile.clib]
191 PG_SOURCE= pgarro.f pgask.f pgband.f pgbbuf.f pgbeg.f pgbin.f pgbox.f \
192 pgbox1.f pgcirc.f pgcl.f pgclos.f pgcn01.f pgcnsc.f pgconb.f pgconl.f \
193 pgcons.f pgcont.f pgconx.f pgcp.f pgctab.f pgcurs.f pgdraw.f pgebuf.f \
194 pgend.f pgenv.f pgeras.f pgerrb.f pgerrx.f pgerry.f pgetxt.f pgfunt.f \
195 pgfunx.f pgfuny.f pggray.f pghi2d.f pghis1.f pghist.f pghtch.f \
196 pgiden.f pgimag.f pginit.f pglab.f pglcur.f pgldev.f pglen.f pgline.f \
197 pgmove.f pgmtxt.f pgncur.f pgnoto.f pgnpl.f pgnumb.f pgolin.f pgopen.f \
198 pgpage.f pgpanl.f pgpap.f pgpixl.f pgpnts.f pgpoly.f pgpt.f pgptxt.f \
199 pgqah.f pgqcf.f pgqch.f pgqci.f pgqcir.f pgqcol.f pgqcr.f pgqcs.f \
200 pgqfs.f pgqhs.f pgqid.f pgqinf.f pgqitf.f pgqls.f pgqlw.f pgqpos.f \
201 pgqtbg.f pgqtxt.f pgqvp.f pgqvsz.f pgqwin.f pgrect.f pgrnd.f pgrnge.f \
202 pgsah.f pgsave.f pgscf.f pgsch.f pgsci.f pgscir.f pgscr.f pgscrn.f \
203 pgsfs.f pgshls.f pgshs.f pgsitf.f pgslct.f pgsls.f pgslw.f pgstbg.f \
204 pgsubp.f pgsvp.f pgswin.f pgtbox.f pgtext.f pgupdt.f pgvect.f pgvsiz.f \
205 pgvstd.f pgvw.f pgwedg.f pgwnad.f pgadvance.f pgbegin.f pgcurse.f \
206 pglabel.f pgmtext.f pgncurse.f pgpaper.f pgpoint.f pgptext.f pgvport.f \
207 pgvsize.f pgvstand.f pgwindow.f pgaxis.f pgconf.f pgerr1.f pgpt1.f \
208 pgqclp.f pgqdt.f pgqndt.f pgsclp.f pgscrl.f pgtick.f
210 SRCS= cpgarro.c cpgask.c cpgband.c cpgbbuf.c cpgbeg.c cpgbin.c cpgbox.c \
211 cpgcirc.c cpgclos.c cpgconb.c cpgconl.c cpgcons.c cpgcont.c cpgctab.c \
212 cpgcurs.c cpgdraw.c cpgebuf.c cpgend.c cpgenv.c cpgeras.c cpgerrb.c \
213 cpgerrx.c cpgerry.c cpgetxt.c cpggray.c cpghi2d.c cpghist.c cpgiden.c \
214 cpgimag.c cpglab.c cpglcur.c cpgldev.c cpglen.c cpgline.c cpgmove.c \
215 cpgmtxt.c cpgncur.c cpgnumb.c cpgolin.c cpgopen.c cpgpage.c cpgpanl.c \
216 cpgpap.c cpgpixl.c cpgpnts.c cpgpoly.c cpgpt.c cpgptxt.c cpgqah.c \
217 cpgqcf.c cpgqch.c cpgqci.c cpgqcir.c cpgqcol.c cpgqcr.c cpgqcs.c \
218 cpgqfs.c cpgqhs.c cpgqid.c cpgqinf.c cpgqitf.c cpgqls.c cpgqlw.c \
219 cpgqpos.c cpgqtbg.c cpgqtxt.c cpgqvp.c cpgqvsz.c cpgqwin.c cpgrect.c \
220 cpgrnd.c cpgrnge.c cpgsah.c cpgsave.c cpgscf.c cpgsch.c cpgsci.c \
221 cpgscir.c cpgscr.c cpgscrn.c cpgsfs.c cpgshls.c cpgshs.c cpgsitf.c \
222 cpgslct.c cpgsls.c cpgslw.c cpgstbg.c cpgsubp.c cpgsvp.c cpgswin.c \
223 cpgtbox.c cpgtext.c cpgunsa.c cpgupdt.c cpgvect.c cpgvsiz.c cpgvstd.c \
224 cpgwedg.c cpgwnad.c cpgaxis.c cpgconf.c cpgerr1.c cpgpt1.c cpgqclp.c \
225 cpgqdt.c cpgqndt.c cpgsclp.c cpgscrl.c cpgtick.c
228 ./pgbind bsd -h -w ${PG_SOURCE:S|^|${SRCDIR}/|}
230 pgbind: ./cpg/pgbind.c
231 ${CC} ${CFLAGS} ${LDFLAGS} -o pgbind ./cpg/pgbind.c
233 .include <bsd.lib.mk>
236 [FILE:2228:files/Makefile.demo]
238 CPGPLOT_LIB= -lcpgplot
241 FFLAGS+= -fno-backslash
242 LDFLAGS+= -L. -L${LOCALBASE}/lib
244 all: cpgdemo pgdemo1 pgdemo2 pgdemo3 pgdemo4 pgdemo5 pgdemo6 pgdemo7 pgdemo8 \
245 pgdemo9 pgdemo10 pgdemo11 pgdemo12 pgdemo13 pgdemo14 pgdemo15 \
248 pgdemo1: pgdemo1.f libpgplot.a
249 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo1 pgdemo1.f ${PGPLOT_LIB} ${LIBS}
251 pgdemo2: pgdemo2.f libpgplot.a
252 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo2 pgdemo2.f ${PGPLOT_LIB} ${LIBS}
254 pgdemo3: pgdemo3.f libpgplot.a
255 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo3 pgdemo3.f ${PGPLOT_LIB} ${LIBS}
257 pgdemo4: pgdemo4.f libpgplot.a
258 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo4 pgdemo4.f ${PGPLOT_LIB} ${LIBS}
260 pgdemo5: pgdemo5.f libpgplot.a
261 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo5 pgdemo5.f ${PGPLOT_LIB} ${LIBS}
263 pgdemo6: pgdemo6.f libpgplot.a
264 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo6 pgdemo6.f ${PGPLOT_LIB} ${LIBS}
266 pgdemo7: pgdemo7.f libpgplot.a
267 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo7 pgdemo7.f ${PGPLOT_LIB} ${LIBS}
269 pgdemo8: pgdemo8.f libpgplot.a
270 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo8 pgdemo8.f ${PGPLOT_LIB} ${LIBS}
272 pgdemo9: pgdemo9.f libpgplot.a
273 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo9 pgdemo9.f ${PGPLOT_LIB} ${LIBS}
275 pgdemo10: pgdemo10.f libpgplot.a
276 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo10 pgdemo10.f ${PGPLOT_LIB} ${LIBS}
278 pgdemo11: pgdemo11.f libpgplot.a
279 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo11 pgdemo11.f ${PGPLOT_LIB} ${LIBS}
281 pgdemo12: pgdemo12.f libpgplot.a
282 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo12 pgdemo12.f ${PGPLOT_LIB} ${LIBS}
284 pgdemo13: pgdemo13.f libpgplot.a
285 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo13 pgdemo13.f ${PGPLOT_LIB} ${LIBS}
287 pgdemo14: pgdemo14.f libpgplot.a
288 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo14 pgdemo14.f ${PGPLOT_LIB} ${LIBS}
290 pgdemo15: pgdemo15.f libpgplot.a
291 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo15 pgdemo15.f ${PGPLOT_LIB} ${LIBS}
293 pgdemo16: pgdemo16.f libpgplot.a
294 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo16 pgdemo16.f ${PGPLOT_LIB} ${LIBS}
296 pgdemo17: pgdemo17.f libpgplot.a
297 ${FC} ${FFLAGS} ${LDFLAGS} -o pgdemo17 pgdemo17.f ${PGPLOT_LIB} ${LIBS}
300 ${CC} ${CFLAGS} -c -I${LOCALBASE}/include cpgdemo.c
301 ${FC} ${FFLAGS} ${LDFLAGS} -o cpgdemo cpgdemo.o ${CPGPLOT_LIB} \
302 ${PGPLOT_LIB} ${LIBS}
305 [FILE:1667:files/Makefile.doc]
308 PG_SOURCE= pgarro.f pgask.f pgaxis.f pgaxlg.f pgband.f pgbbuf.f pgbeg.f \
309 pgbin.f pgbox.f pgbox1.f pgcirc.f pgcl.f pgclos.f pgcn01.f pgcnsc.f \
310 pgconb.f pgconf.f pgconl.f pgcons.f pgcont.f pgconx.f pgcp.f pgctab.f \
311 pgcurs.f pgdraw.f pgebuf.f pgend.f pgenv.f pgeras.f pgerr1.f pgerrb.f \
312 pgerrx.f pgerry.f pgetxt.f pgfunt.f pgfunx.f pgfuny.f pggray.f \
313 pghi2d.f pghis1.f pghist.f pghtch.f pgiden.f pgimag.f pginit.f pglab.f \
314 pglcur.f pgldev.f pglen.f pgline.f pgmove.f pgmtxt.f pgncur.f pgnoto.f \
315 pgnpl.f pgnumb.f pgolin.f pgopen.f pgpage.f pgpanl.f pgpap.f pgpixl.f \
316 pgpnts.f pgpoly.f pgpt.f pgpt1.f pgptxt.f pgqah.f pgqcf.f pgqch.f \
317 pgqci.f pgqcir.f pgqclp.f pgqcol.f pgqcr.f pgqcs.f pgqdt.f pgqfs.f \
318 pgqhs.f pgqid.f pgqinf.f pgqitf.f pgqls.f pgqlw.f pgqndt.f pgqpos.f \
319 pgqtbg.f pgqtxt.f pgqvp.f pgqvsz.f pgqwin.f pgrect.f pgrnd.f pgrnge.f \
320 pgsah.f pgsave.f pgscf.f pgsch.f pgsci.f pgscir.f pgsclp.f pgscr.f \
321 pgscrl.f pgscrn.f pgsfs.f pgshls.f pgshs.f pgsitf.f pgslct.f pgsls.f \
322 pgslw.f pgstbg.f pgsubp.f pgsvp.f pgswin.f pgtbox.f pgtext.f pgtick.f \
323 pgtikl.f pgupdt.f pgvect.f pgvsiz.f pgvstd.f pgvw.f pgwedg.f pgwnad.f \
324 pgadvance.f pgbegin.f pgcurse.f pglabel.f pgmtext.f pgncurse.f \
325 pgpaper.f pgpoint.f pgptext.f pgvport.f pgvsize.f pgvstand.f \
328 all: pgplot.doc pgplot.html pgplot-routines.tex
330 pgplot.doc: ${PG_SOURCE:S|^|${SRCDIR}/|}
331 ./makedoc ${PG_SOURCE:S|^|${SRCDIR}/|} > pgplot.doc
333 pgplot.html: ${PG_SOURCE:S|^|${SRCDIR}/|}
334 ./makehtml ${PG_SOURCE:S|^|${SRCDIR}/|} > pgplot.html
336 pgplot-routines.tex: ${PG_SOURCE:S|^|${SRCDIR}/|}
337 ./maketex ${PG_SOURCE:S|^|${SRCDIR}/|} > pgplot-routines.tex
340 [FILE:2798:files/Makefile.flib]
347 CFLAGS+= -DPG_PPU -I${PREFIX}/include -I${LOCALBASE}/include
349 LDFLAGS+= -L${LOCALBASE}/lib
350 .PATH: ./src ./examples ./fonts ./drivers ./sys_freebsd ./pgdispd ./sys
352 PG_ROUTINES= pgarro.f pgask.f pgaxis.f pgaxlg.f pgband.f pgbbuf.f pgbeg.f \
353 pgbin.f pgbox.f pgbox1.f pgcirc.f pgcl.f pgclos.f pgcn01.f pgcnsc.f \
354 pgconb.f pgconf.f pgconl.f pgcons.f pgcont.f pgconx.f pgcp.f pgctab.f \
355 pgcurs.f pgdraw.f pgebuf.f pgend.f pgenv.f pgeras.f pgerr1.f pgerrb.f \
356 pgerrx.f pgerry.f pgetxt.f pgfunt.f pgfunx.f pgfuny.f pggray.f \
357 pghi2d.f pghis1.f pghist.f pghtch.f pgiden.f pgimag.f pginit.f pglab.f \
358 pglcur.f pgldev.f pglen.f pgline.f pgmove.f pgmtxt.f pgncur.f pgnoto.f \
359 pgnpl.f pgnumb.f pgolin.f pgopen.f pgpage.f pgpanl.f pgpap.f pgpixl.f \
360 pgpnts.f pgpoly.f pgpt.f pgpt1.f pgptxt.f pgqah.f pgqcf.f pgqch.f \
361 pgqci.f pgqcir.f pgqclp.f pgqcol.f pgqcr.f pgqcs.f pgqdt.f pgqfs.f \
362 pgqhs.f pgqid.f pgqinf.f pgqitf.f pgqls.f pgqlw.f pgqndt.f pgqpos.f \
363 pgqtbg.f pgqtxt.f pgqvp.f pgqvsz.f pgqwin.f pgrect.f pgrnd.f pgrnge.f \
364 pgsah.f pgsave.f pgscf.f pgsch.f pgsci.f pgscir.f pgsclp.f pgscr.f \
365 pgscrl.f pgscrn.f pgsfs.f pgshls.f pgshs.f pgsitf.f pgslct.f pgsls.f \
366 pgslw.f pgstbg.f pgsubp.f pgsvp.f pgswin.f pgtbox.f pgtext.f pgtick.f \
367 pgtikl.f pgupdt.f pgvect.f pgvsiz.f pgvstd.f pgvw.f pgwedg.f pgwnad.f
369 PG_NON_STANDARD= pgadvance.f pgbegin.f pgcurse.f pglabel.f \
370 pgmtext.f pgncurse.f pgpaper.f pgpoint.f pgptext.f pgvport.f pgvsize.f \
371 pgvstand.f pgwindow.f
373 GR_ROUTINES= grarea.f grbpic.f grchsz.f grclip.f grclos.f grclpl.f \
374 grctoi.f grcurs.f grdot0.f grdot1.f grdtyp.f gresc.f grepic.f gretxt.f \
375 grfa.f grfao.f grgfil.f grgray.f grimg0.f grimg1.f grimg2.f grimg3.f \
376 grinit.f gritoc.f grldev.f grlen.f grlin0.f grlin1.f grlin2.f grlin3.f \
377 grlina.f grmcur.f grmker.f grmova.f grmsg.f gropen.f grpage.f grpars.f \
378 grpixl.f grpocl.f grprom.f grpxpo.f grpxps.f grpxpx.f grpxre.f \
379 grqcap.f grqci.f grqcol.f grqcr.f grqdev.f grqdt.f grqfnt.f grqls.f \
380 grqlw.f grqpos.f grqtxt.f grqtyp.f grquit.f grrec0.f grrect.f grsci.f \
381 grscr.f grsetc.f grscrl.f grsetc.f grsets.f grsfnt.f grsize.f grskpb.f \
382 grslct.f grsls.f grslw.f grsyds.f grsymk.f grsyxd.f grterm.f grtext.f \
383 grtoup.f grtrim.f grtrn0.f grtxy0.f grvct0.f grwarn.f grxhls.f \
386 SYSTEM_ROUTINES= grdate.c grfileio.c grflun.f grgcom.f grgenv.f \
387 grgetc.c grglun.f grgmem.c grgmsg.f grlgtr.f groptx.f grsy00.f \
388 grtermio.c grtrml.f grtter.f gruser.c iand.c
390 DRIVERS= gidriv.f gldriv.f hgdriv.f lxdriv.f nudriv.f ppdriv.f \
391 psdriv.f ttdriv.f wddriv.f x2driv.c figdisp_comm.c xwdriv.c cgdriv.c \
394 SRCS= ${PG_ROUTINES} ${PG_NON_STANDARD} ${GR_ROUTINES} ${SYSTEM_ROUTINES} \
397 .include <bsd.lib.mk>
400 [FILE:5373:files/drivers.list]
402 !------------------------------------------------------------------------------
403 ! To configure PGPLOT, ensure that drivers you do not want are
404 ! commented out (place ! in column 1). N.B. Many device-drivers are
405 ! available on selected operating systems only.
406 !------------------------------------------------------------------------------
407 ! File Code Description Restrictions
408 ! BCDRIV 0 /BCANON Canon Laser printer (bitmap version), landscape
409 ! CADRIV 0 /CANON Canon Laser printer, LBP-8/A2, landscape
410 ! CCDRIV 0 /CCP DEC LJ250 Color Companion printer
411 ! CWDRIV 0 /CW6320 Gould/Bryans Colourwriter 6320 pen plotter Std F77
412 ! EPDRIV 0 /EPSON Epson FX100 dot matrix printer
413 ! EXDRIV 1 /EXCL Talaris/EXCL printers, landscape
414 ! EXDRIV 2 /EXCL Talaris/EXCL printers, portrait
415 ! GCDRIV 0 /GENICOM Genicom 4410 dot-matrix printer, landscape
416 ! Caution: use of GIDRIV may require a license from Unisys:
417 GIDRIV 1 /GIF GIF-format file, landscape
418 GIDRIV 2 /VGIF GIF-format file, portrait
419 GLDRIV 1 /HPGL Hewlett-Packard HP-GL plotters, landscape Std F77
420 GLDRIV 2 /VHPGL Hewlett-Packard HP-GL plotters, portrait Std F77
421 ! GODRIV 0 /GOC GOC Sigma T5670 terminal VMS
422 ! GVDRIV 0 /GVENICOM Genicom 4410 dot-matrix printer, portrait
423 HGDRIV 0 /HPGL2 Hewlett-Packard graphics language
424 ! HIDRIV 0 /HIDMP Houston Instruments HIDMP pen plotter
425 ! HJDRIV 0 /HJ Hewlett-Packard Desk/Laserjet printer
426 ! HPDRIV 0 /HP7221 Hewlett-Packard HP7221 pen plotter Std F77
427 ! IMDRIV 0 /IMPRESS Imagen printers (Impress language), landscape
428 ! IRDRIV 0 /IRIS SiliconGraphics Console SGI (C)
429 ! LADRIV 0 /LA50 Dec LA50 and other sixel printers
430 ! LJDRIV 0 /LJ Hewlett-Packard LaserJet printers
431 ! LSDRIV 1 /LIPS2 Canon LaserShot printer (landscape)
432 ! LSDRIV 2 /VLIPS2 Canon LaserShot printer (portrait)
433 ! LNDRIV 0 /LN03 Dec LN03-PLUS Laser printer (landscape) VMS
434 ! LVDRIV 0 /LVN03 Dec LN03-PLUS Laser printer (portrait) VMS
435 LXDRIV 0 /LATEX LaTeX picture environment
436 ! MFDRIV 0 /FILE PGPLOT graphics metafile
437 ! NEDRIV 0 /NEXT Computers running NeXTstep operating system
438 NUDRIV 0 /NULL Null device (no output) Std F77
439 PPDRIV 1 /PPM Portable Pixel Map file, landscape
440 PPDRIV 2 /VPPM Portable PIxel Map file, portrait
441 PSDRIV 1 /PS PostScript printers, monochrome, landscape Std F77
442 PSDRIV 2 /VPS Postscript printers, monochrome, portrait Std F77
443 PSDRIV 3 /CPS PostScript printers, color, landscape Std F77
444 PSDRIV 4 /VCPS PostScript printers, color, portrait Std F77
445 ! PXDRIV 0 /PRINTRONI Printronix P300 or P600 dot-matrix printer
446 ! QMDRIV 1 /QMS QUIC devices (QMS and Talaris), landscape Std F77
447 ! QMDRIV 2 /VQMS QUIC devices (QMS and Talaris), portrait Std F77
448 ! SVDRIV 0 /SUNVIEW Sun workstations running SunView SunOS C
449 ! TFDRIV 0 /TFILE Tektronix-format disk file VMS
450 ! TODRIV 0 /TOSHIBA Toshiba "3-in-one" printer, model P351
451 ! TTDRIV 1 /TEK4010 Tektronix 4006/4010 storage-tube terminal Std F77
452 ! TTDRIV 2 /GF GraphOn terminal Std F77
453 ! TTDRIV 3 /RETRO RetroGraphics terminal Std F77
454 TTDRIV 4 /GTERM GTERM Tektronix terminal emulator Std F77
455 TTDRIV 5 /XTERM XTERM Tektronix terminal emulator Std F77
456 ! TTDRIV 6 /ZSTEM ZSTEM terminal emulator Std F77
457 ! TTDRIV 7 /V603 Visual 603 terminal Std F77
458 ! TTDRIV 8 /KRM3 Kermit 3 on IBM-PC Std F77
459 TTDRIV 9 /TK4100 Tektronix 4100-series terminals Std F77
460 ! TXDRIV 0 /TX TeX PK Font Output files
461 ! VADRIV 0 /VCANON Canon Laser printer, LBP-8/A2, portrait
462 ! VBDRIV 0 /VBCANON Canon Laser printer (bitmap version), portrait
463 ! VIDRIV 0 /VIPRESS Imagen printers (Impress language), portrait
464 ! VTDRIV 0 /VT125 Dec Regis terminals (VT125 etc.) Std F77
465 WDDRIV 1 /WD X Window dump file, landscape
466 WDDRIV 2 /VWD X Window dump file, portrait
467 ! WSDRIV 0 /WS VAX workstations running VWS software VMS
468 X2DRIV 0 /XDISP PGDISP or FIGDISP server for X workstations C
469 XWDRIV 1 /XWINDOW Workstations running X Window System C
470 XWDRIV 2 /XSERVE Persistent window on X Window System C
471 ! ZEDRIV 0 /ZETA Zeta 8 Digital Plotter
473 ! The following drivers can only be used in PGPLOT installations on MS-DOS
474 ! systems with appropriate hardware and software. Do not select these
475 ! on UNIX or VMS systems.
477 ! LHDRIV 0 /LH IBM PCs and clones, Lahey F77 32-bit Fortran v5.0
478 ! MSDRIV 0 /MSOFT IBM PCs and clones running Microsoft Fortran 5.0
479 ! SSDRIV 0 /SS IBM PCs and clones, MS-DOS, Salford Software FTN
481 ! The following driver can only be used in PGPLOT installations on Acorn
482 ! Archimedes systems with appropriate hardware and software.
484 ! ACDRIV 0 /ARC Acorn Archimedes computer
486 ! Selection of the XMOTIF driver causes a stub driver to be placed in
487 ! the main PGPLOT library. The real driver is placed in libXmPgplot.a.
488 ! Applications that need the Motif driver should link with libXmPgplot.a
489 ! before the PGPLOT library. This treatment means that only Motif
490 ! applications have to be linked with Motif libraries.
492 ! XMDRIV 0 /XMOTIF Motif applications containing XmPgplot widgets. C
495 [FILE:1806:files/grexec.f]
496 C*GREXEC -- PGPLOT device handler dispatch routine
498 SUBROUTINE GREXEC(IDEV,IFUNC,RBUF,NBUF,CHR,LCHR)
499 INTEGER IDEV, IFUNC, NBUF, LCHR
507 GOTO(1,2,3,4,5,6,7,8,9,10,11,12,13,14,
508 + 15,16,17,18,19,20,21) IDEV
513 WRITE (MSG,'(I10)') IDEV
514 CALL GRWARN('Unknown device code in GREXEC: '//MSG)
518 1 CALL GIDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,1)
520 2 CALL GIDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,2)
522 3 CALL GLDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,1)
524 4 CALL GLDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,2)
526 5 CALL HGDRIV(IFUNC,RBUF,NBUF,CHR,LCHR)
528 6 CALL LXDRIV(IFUNC,RBUF,NBUF,CHR,LCHR)
530 7 CALL NUDRIV(IFUNC,RBUF,NBUF,CHR,LCHR)
532 8 CALL PPDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,1)
534 9 CALL PPDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,2)
536 10 CALL PSDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,1)
538 11 CALL PSDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,2)
540 12 CALL PSDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,3)
542 13 CALL PSDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,4)
544 14 CALL TTDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,4)
546 15 CALL TTDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,5)
548 16 CALL TTDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,9)
550 17 CALL WDDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,1)
552 18 CALL WDDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,2)
554 19 CALL X2DRIV(IFUNC,RBUF,NBUF,CHR,LCHR)
556 20 CALL XWDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,1)
558 21 CALL XWDRIV(IFUNC,RBUF,NBUF,CHR,LCHR,2)