aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/gplot/Makefile35
-rw-r--r--graphics/gplot/distinfo1
-rw-r--r--graphics/gplot/files/patch-aa161
-rw-r--r--graphics/gplot/files/patch-ab23
-rw-r--r--graphics/gplot/pkg-comment1
-rw-r--r--graphics/gplot/pkg-descr21
-rw-r--r--graphics/gplot/pkg-plist7
7 files changed, 249 insertions, 0 deletions
diff --git a/graphics/gplot/Makefile b/graphics/gplot/Makefile
new file mode 100644
index 000000000000..ca29fa298214
--- /dev/null
+++ b/graphics/gplot/Makefile
@@ -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>
diff --git a/graphics/gplot/distinfo b/graphics/gplot/distinfo
new file mode 100644
index 000000000000..b09e5a56c3d4
--- /dev/null
+++ b/graphics/gplot/distinfo
@@ -0,0 +1 @@
+MD5 (gplot.tar.Z) = b29be9573996be595eff2d7d1dd71849
diff --git a/graphics/gplot/files/patch-aa b/graphics/gplot/files/patch-aa
new file mode 100644
index 000000000000..f4cec22d027c
--- /dev/null
+++ b/graphics/gplot/files/patch-aa
@@ -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
diff --git a/graphics/gplot/files/patch-ab b/graphics/gplot/files/patch-ab
new file mode 100644
index 000000000000..031a35298f48
--- /dev/null
+++ b/graphics/gplot/files/patch-ab
@@ -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);
diff --git a/graphics/gplot/pkg-comment b/graphics/gplot/pkg-comment
new file mode 100644
index 000000000000..c51f2e136a22
--- /dev/null
+++ b/graphics/gplot/pkg-comment
@@ -0,0 +1 @@
+Graphic utilities for the processing of CGM metafiles.
diff --git a/graphics/gplot/pkg-descr b/graphics/gplot/pkg-descr
new file mode 100644
index 000000000000..6691c25d8880
--- /dev/null
+++ b/graphics/gplot/pkg-descr
@@ -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.
diff --git a/graphics/gplot/pkg-plist b/graphics/gplot/pkg-plist
new file mode 100644
index 000000000000..e0c96e940a62
--- /dev/null
+++ b/graphics/gplot/pkg-plist
@@ -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