Initial import of gplot.

Graphic utilities for the processing of CGM metafiles
This commit is contained in:
Steve Price 1998-02-18 20:53:44 +00:00
parent f5585aa71f
commit 49f7c50002
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9816
7 changed files with 249 additions and 0 deletions

35
graphics/gplot/Makefile Normal file
View file

@ -0,0 +1,35 @@
# New ports collection makefile for: Gplot
# Version required: 4.3
# Date created: 26 Dec 97
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $Id$
#
DISTNAME= gplot
PKGNAME= gplot-4.3
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.psc.edu/pub/gplot/
EXTRACT_SUFX= .tar.Z
MAINTAINER= giffunip@asme.org
NO_WRKSUBDIR= yes
ALL_TARGET= drawcgm gtex gplot
MAN1= gplot.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gplot ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/gtex ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/drawcgm/drawcgm.a ${PREFIX}/lib/libcgm.a
${INSTALL_MAN} ${WRKSRC}/gplot.man ${PREFIX}/man/man1/gplot.1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/Gplot
${GZIP_CMD} ${WRKSRC}/gplot.hlp
${GZIP_CMD} ${WRKSRC}/gplot.txt
${GZIP_CMD} ${WRKSRC}/gtex.doc
${INSTALL_DATA} ${WRKSRC}/*.gz ${PREFIX}/share/doc/Gplot
.endif
.include <bsd.port.mk>

1
graphics/gplot/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (gplot.tar.Z) = b29be9573996be595eff2d7d1dd71849

View file

@ -0,0 +1,161 @@
*** Makefile.orig Tue Oct 27 11:07:42 1992
--- Makefile Sun Dec 14 15:04:04 1997
***************
*** 55,61 ****
# lvr.o lvr_io.o sony laser video disk recorder controller
# dq.o diaquest controller
! DRV_FLAGS = -Dincps -Dinctek -Dinccgmc -Dinccgmb
CTR_FLAGS = -O -Dinctty
CTR_OBJ = tty.o
--- 55,61 ----
# lvr.o lvr_io.o sony laser video disk recorder controller
# dq.o diaquest controller
! DRV_FLAGS = -Dincps -Dinctek -Dinccgmc -Dinccgmb
CTR_FLAGS = -O -Dinctty
CTR_OBJ = tty.o
***************
*** 87,94 ****
# To build this software on a Sun workstation, uncomment the next lines.
#AR = ar ru
! #F_LINK = f77
! #RANLIB = ranlib
# To include the Sunview driver and gplottool interface, uncomment SVLIBS.
# To include the Sun CGI B&W driver, uncomment SLIBS.
# NOTE: Uncomment only one of the following two lines.
--- 87,94 ----
# To build this software on a Sun workstation, uncomment the next lines.
#AR = ar ru
! F_LINK = f77
! RANLIB = ranlib
# To include the Sunview driver and gplottool interface, uncomment SVLIBS.
# To include the Sun CGI B&W driver, uncomment SLIBS.
# NOTE: Uncomment only one of the following two lines.
***************
*** 141,147 ****
#CFLAGS = -g
# To build Gplot on the IRIS, uncomment the next line.
#CFLAGS = -cckr
! CFLAGS =
# ******************************************************************
#
--- 141,147 ----
#CFLAGS = -g
# To build Gplot on the IRIS, uncomment the next line.
#CFLAGS = -cckr
! #CFLAGS =
# ******************************************************************
#
***************
*** 309,315 ****
# (1000 implies 10 point fonts at 300 pt/in), e.g.,
# /usr/staff/andrews/pk/1000/cmr10.pk
pkras.o: pkras.c defs.h
! cc -c -DUNIXFONTS=\"/usr/staff/andrews/pk\" pkras.c
#TTY controller
tty.o: tty.c defs.h
--- 309,315 ----
# (1000 implies 10 point fonts at 300 pt/in), e.g.,
# /usr/staff/andrews/pk/1000/cmr10.pk
pkras.o: pkras.c defs.h
! cc -c -DUNIXFONTS=\"/usr/local/share/texmf/fonts/pk\" pkras.c
#TTY controller
tty.o: tty.c defs.h
***************
*** 366,408 ****
xws_setup.o: /usr/include/stdio.h \
/usr/include/strings.h \
! /usr/include/X11/Intrinsic.h \
! /usr/include/X11/StringDefs.h \
! /usr/include/X11/Xutil.h \
! /usr/include/X11/cursorfont.h \
defs.h xws_defs.h
xws_delim.o: /usr/include/stdio.h \
/usr/include/strings.h \
! /usr/include/X11/Intrinsic.h \
! /usr/include/X11/Xutil.h \
defs.h xws_defs.h
xws_color.o: /usr/include/stdio.h \
/usr/include/math.h \
! /usr/include/X11/Intrinsic.h \
! /usr/include/X11/Xutil.h \
! /usr/include/X11/Xatom.h \
defs.h xws_defs.h xws_color.h
! xws_polyline.o:/usr/include/X11/Intrinsic.h \
defs.h xws_defs.h
xws_polygon.o: /usr/include/stdio.h \
! /usr/include/X11/Intrinsic.h \
defs.h xws_defs.h xws_fill.h
! xws_marker.o: /usr/include/X11/Intrinsic.h \
defs.h xws_defs.h
xws_text.o: /usr/include/strings.h \
! /usr/include/X11/Intrinsic.h \
! /usr/include/X11/Xatom.h \
defs.h xws_defs.h
xws_cla.o: /usr/include/stdio.h \
/usr/include/math.h \
! /usr/include/X11/Intrinsic.h \
defs.h xws_defs.h xws_color.h
#-----------------------------------------------------------------------------
# DrawCGM and CGMGen, and test routines
--- 366,408 ----
xws_setup.o: /usr/include/stdio.h \
/usr/include/strings.h \
! $(X11BASE)/include/X11/Intrinsic.h \
! $(X11BASE)/include/X11/StringDefs.h \
! $(X11BASE)/include/X11/Xutil.h \
! $(X11BASE)/include/X11/cursorfont.h \
defs.h xws_defs.h
xws_delim.o: /usr/include/stdio.h \
/usr/include/strings.h \
! $(X11BASE)/include/X11/Intrinsic.h \
! $(X11BASE)/include/X11/Xutil.h \
defs.h xws_defs.h
xws_color.o: /usr/include/stdio.h \
/usr/include/math.h \
! $(X11BASE)/include/X11/Intrinsic.h \
! $(X11BASE)/include//X11/Xutil.h \
! $(X11BASE)/include/X11/Xatom.h \
defs.h xws_defs.h xws_color.h
! xws_polyline.o:$(X11BASE)/include/X11/Intrinsic.h \
defs.h xws_defs.h
xws_polygon.o: /usr/include/stdio.h \
! $(X11BASE)/include/X11/Intrinsic.h \
defs.h xws_defs.h xws_fill.h
! xws_marker.o: $(X11BASE)/include/X11/Intrinsic.h \
defs.h xws_defs.h
xws_text.o: /usr/include/strings.h \
! $(X11BASE)/include/X11/Intrinsic.h \
! $(X11BASE)/include/X11/Xatom.h \
defs.h xws_defs.h
xws_cla.o: /usr/include/stdio.h \
/usr/include/math.h \
! $(X11BASE)/include/X11/Intrinsic.h \
defs.h xws_defs.h xws_color.h
#-----------------------------------------------------------------------------
# DrawCGM and CGMGen, and test routines

View file

@ -0,0 +1,23 @@
*** utils.c.orig Sun Nov 30 01:11:39 1997
--- utils.c Sun Nov 30 01:24:00 1997
***************
*** 300,308 ****
struct info_struct *out_info;
struct one_opt *opt; /* put command line options here */
#define may_override(name) if (opt[(int) name].set) switch (opt[(int) name].tag) { \
! case integer: out_info->name = opt[(int) name].val.i; break; \
! case real: out_info->name = opt[(int) name].val.r; break; \
! case lst: case str: strcpy(out_info->name, opt[(int) name].val.str); break;}
{
/* and now overide the device if the command line wants us to */
may_override(pxl_in);
--- 300,308 ----
struct info_struct *out_info;
struct one_opt *opt; /* put command line options here */
#define may_override(name) if (opt[(int) name].set) switch (opt[(int) name].tag) { \
! case integer: out_info->name = opt[(int) name].val.i; break; \
! case real: out_info->name = opt[(int) name].val.r; break; \
! case lst: case str: strncpy(out_info->name, opt[(int) name].val.str,max_str); break;}
{
/* and now overide the device if the command line wants us to */
may_override(pxl_in);

View file

@ -0,0 +1 @@
Graphic utilities for the processing of CGM metafiles.

21
graphics/gplot/pkg-descr Normal file
View file

@ -0,0 +1,21 @@
GPLOT is a graphics utility program, designed for the processing of CGM
metafiles produced by DI3000, DISSPLA, DRAWCGM and NCARGKS. Source code
for GPLOT is avilable to other sites, so that graphics created at
PSC can be processed locally.
Note that the current version of GPLOT is able to recognize NCAR CGM
metafiles created on the Cray, and automatically carry out the byte-swapping
necessary to properly interpret such files. In other words, you should no
longer have to worry about running the NCARFIX program on your file before
using GPLOT.
Graphics images produced by GPLOT can be combined with TEX formatted
text by the GTEX program. See PSCDOC:GTEX.DOC and TEX.DOC.
To report problems with GPLOT, or to request new output capabilities,
please contact PSC User Services.
COPYRIGHT
gplot is copyrighted by the Pittsburgh Supercomputing
Center.

7
graphics/gplot/pkg-plist Normal file
View file

@ -0,0 +1,7 @@
bin/gplot
bin/gtex
lib/libcgm.a
share/doc/Gplot/gplot.hlp.gz
share/doc/Gplot/gplot.txt.gz
share/doc/Gplot/gtex.doc.gz
@dirrm share/doc/Gplot