summaryrefslogtreecommitdiff
path: root/graphics/plplot
diff options
context:
space:
mode:
authorjtb <jtb>2000-12-02 05:40:26 +0000
committerjtb <jtb>2000-12-02 05:40:26 +0000
commitabf65c8776f3478a8583750da40c072ebb6d3abf (patch)
treeb6e8a333cae3f07119e689005bd2d963dbdf9439 /graphics/plplot
parentcdd8a4cf97550b87cb5523ad5c1b76edb928b575 (diff)
downloadpkgsrc-abf65c8776f3478a8583750da40c072ebb6d3abf.tar.gz
Initial import of new "plplot" package:
Scientific plotting library
Diffstat (limited to 'graphics/plplot')
-rw-r--r--graphics/plplot/Makefile87
-rw-r--r--graphics/plplot/files/md53
-rw-r--r--graphics/plplot/files/patch-sum9
-rw-r--r--graphics/plplot/patches/patch-aa28
-rw-r--r--graphics/plplot/patches/patch-ab28
-rw-r--r--graphics/plplot/patches/patch-ac13
-rw-r--r--graphics/plplot/patches/patch-ad13
-rw-r--r--graphics/plplot/patches/patch-ae13
-rw-r--r--graphics/plplot/patches/patch-af13
-rw-r--r--graphics/plplot/patches/patch-ag13
-rw-r--r--graphics/plplot/pkg/COMMENT1
-rw-r--r--graphics/plplot/pkg/DESCR15
-rw-r--r--graphics/plplot/pkg/PLIST.no-x11139
-rw-r--r--graphics/plplot/pkg/PLIST.tcl142
-rw-r--r--graphics/plplot/pkg/PLIST.xwin139
-rw-r--r--graphics/plplot/pkg/PLIST.xwin-tcl-tk164
16 files changed, 820 insertions, 0 deletions
diff --git a/graphics/plplot/Makefile b/graphics/plplot/Makefile
new file mode 100644
index 00000000000..f88dee143a5
--- /dev/null
+++ b/graphics/plplot/Makefile
@@ -0,0 +1,87 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/02 05:40:26 jtb Exp $
+
+DISTNAME= plplot4p99j
+PKGNAME= plplot-4.99
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.uniovi.es/pub6/graphics/plotting/ \
+ ftp://dino.ph.utexas.edu/plplot/distrib/alpha/ \
+ ftp://ftp.u-aizu.ac.jp/pub/misc/tools/plot/plplot/distrib/alpha/ \
+ ftp://ftp.che.utexas.edu/pub/graphics/
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://www.plplot.org/
+
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+USE_FORTRAN= YES
+
+EVAL_PREFIX+= TK_PREFIX=tk TCL_PREFIX=tcl PYTHON_PREFIX=python
+
+post-patch:
+ @for f in ${WRKSRC}/src/plctrl.c ; do \
+ ${SED} -e 's:%%PREFIX%%:'${PREFIX}':g' \
+ < $$f > $$f.tmp && ${MV} $$f.tmp $$f ; done
+
+PLPLOT_USE_X11= YES
+PLPLOT_USE_TCL= YES
+PLPLOT_USE_TK = YES
+
+CONFIGURE_ENV+= "LIB_DIR=${PREFIX}/lib/plplot"
+CONFIGURE_ENV+= "BIN_DIR=${PREFIX}/bin"
+CONFIGURE_ENV+= "DOC_DIR=${PREFIX}/share/doc/plplot"
+CONFIGURE_ENV+= "INCLUDE_DIR=${PREFIX}/include/plplot"
+CONFIGURE_ENV+= "DEMOS_DIR=${PREFIX}/share/examples/plplot"
+
+# Python support requires shared libraries. Disabled for now.
+#CONFIGURE_ENV+="PYTHONLIBDIR=${PYTHON_PREFIX}/lib/python1.5"
+#CONFIGURE_ENV+="PYTHON_INC_DIR=${PYTHON_PREFIX}/include/python1.5"
+#CONFIGURE_ENV+="PYTHON_MOD_DIR=${PYTHON_PREFIX}/lib/python1.5/site-packages"
+#CONFIGURE_ENV+="PYTHON_DIR=${PREFIX}/libdata/plplot/python"
+
+CONFIGURE_ARGS+="--with-double"
+CONFIGURE_ARGS+="--without-shlib"
+CONFIGURE_ARGS+="--disable-python"
+CONFIGURE_ARGS+="--disable-itcl"
+CONFIGURE_ARGS+="--disable-dp"
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SRC= ${PKGDIR}/PLIST.no-x11
+
+.if defined(PLPLOT_USE_TK) && ${PLPLOT_USE_TK} == "YES"
+DEPENDS+= tk-8.3.[0-9]:../../x11/tk
+USE_X11= YES
+PLPLOT_USE_X11= YES
+PLPLOT_USE_TCL= YES
+PLIST_SRC= ${PKGDIR}/PLIST.xwin-tcl-tk
+CONFIGURE_ARGS+="--enable-tk"
+CONFIGURE_ENV+= "TKINCDIR=${TK_PREFIX}/include"
+CONFIGURE_ENV+= "TKLIBDIR=${TK_PREFIX}/lib"
+.else
+CONFIGURE_ARGS+="--disable-tk"
+.endif
+
+.if defined(PLPLOT_USE_X11) && ${PLPLOT_USE_X11} == "NO"
+CONFIGURE_ARGS+="--disable-xwin"
+.else
+USE_X11= YES
+CONFIGURE_ARGS+="--enable-xwin"
+.if ${PLPLOT_USE_TK} == "NO" && ${PLPLOT_USE_TCL} == "NO"
+PLIST_SRC= ${PKGDIR}/PLIST.xwin
+.endif
+.endif
+
+.if defined(PLPLOT_USE_TCL) && ${PLPLOT_USE_TCL} == "YES"
+DEPENDS+= tcl-8.3.[0-9]:../../lang/tcl
+.if ${PLPLOT_USE_X11} == "NO"
+PLIST_SRC= ${PKGDIR}/PLIST.tcl
+.endif
+CONFIGURE_ARGS+="--enable-tcl"
+CONFIGURE_ENV+= "TCLINCDIR=${TCL_PREFIX}/include"
+CONFIGURE_ENV+= "TCLLIBDIR=${TCL_PREFIX}/lib"
+CONFIGURE_ENV+= "TCL_DIR=${PREFIX}/libdata/plplot/tcl"
+.else
+CONFIGURE_ARGS+="--disable-tcl"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/plplot/files/md5 b/graphics/plplot/files/md5
new file mode 100644
index 00000000000..d656367a554
--- /dev/null
+++ b/graphics/plplot/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+MD5 (plplot4p99j.tar.gz) = e0914f2aa5216b1eeef559a73e9f2af5
diff --git a/graphics/plplot/files/patch-sum b/graphics/plplot/files/patch-sum
new file mode 100644
index 00000000000..429e10f41c5
--- /dev/null
+++ b/graphics/plplot/files/patch-sum
@@ -0,0 +1,9 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+MD5 (patch-aa) = 79bf45bc8a3eb08100e67bca464047b2
+MD5 (patch-ab) = 4e19a8510c846a9c778c29abb42a8032
+MD5 (patch-ac) = 2be27776bf461277bd7000b72e7efcce
+MD5 (patch-ad) = 18b7d4bbe3bc42ce615cb8d31129227b
+MD5 (patch-ae) = 115a8f0abc9e45d189959f2c5952d2f9
+MD5 (patch-af) = 9646f9b082536e9f80c2c2b037332a25
+MD5 (patch-ag) = 986a238768477fca8fa1948358c7a4db
diff --git a/graphics/plplot/patches/patch-aa b/graphics/plplot/patches/patch-aa
new file mode 100644
index 00000000000..5e0c92de7ea
--- /dev/null
+++ b/graphics/plplot/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+--- configure.orig Sat Oct 21 14:25:03 2000
++++ configure
+@@ -2517,9 +2517,9 @@
+ fi
+ done
+ if test -n "$LIBSW"; then
+- LIBS="$LIBS $LIBSW -ltk"
++ LIBS="$LIBS $LIBSW -ltk83"
+ else
+- LIBS="$LIBS -ltk"
++ LIBS="$LIBS -ltk83"
+ fi
+ lib_path="$lib_path $TKLIBDIR"
+
+@@ -2557,9 +2557,9 @@
+ fi
+ done
+ if test -n "$LIBSW"; then
+- LIBS="$LIBS $LIBSW -ltcl"
++ LIBS="$LIBS $LIBSW -ltcl83"
+ else
+- LIBS="$LIBS -ltcl"
++ LIBS="$LIBS -ltcl83"
+ fi
+ lib_path="$lib_path $TCLLIBDIR"
+
diff --git a/graphics/plplot/patches/patch-ab b/graphics/plplot/patches/patch-ab
new file mode 100644
index 00000000000..ca691de51dc
--- /dev/null
+++ b/graphics/plplot/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+--- include/plplot.h.orig Sat May 6 19:27:21 1995
++++ include/plplot.h
+@@ -125,12 +125,7 @@
+ * (others...)
+ *
+ \*--------------------------------------------------------------------------*/
+-
+-#ifdef unix /* the old way */
+-#ifndef __unix
+-#define __unix
+-#endif
+-#endif
++#include <sys/param.h>
+
+ /* Make sure Unix systems define "__unix" */
+
+@@ -140,7 +135,8 @@
+ defined(sun) || /* SUN */ \
+ defined(CRAY) || /* Cray */ \
+ defined(__convexc__) || /* CONVEX */ \
+- (defined(__alpha) && defined(__osf__)) /* DEC Alpha AXP/OSF */
++ (defined(__alpha) && defined(__osf__)) || /* DEC Alpha AXP/OSF */ \
++ (defined(BSD) && BSD >= 199306) /* BSD */
+
+ #ifndef __unix
+ #define __unix
diff --git a/graphics/plplot/patches/patch-ac b/graphics/plplot/patches/patch-ac
new file mode 100644
index 00000000000..c0fe16eee8e
--- /dev/null
+++ b/graphics/plplot/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+--- drivers/tk.c.orig Sat Oct 21 14:27:37 2000
++++ drivers/tk.c
+@@ -1881,7 +1881,7 @@
+
+ /* Create the main window without mapping it */
+
+- *w = Tk_CreateMainWindow(interp, display, basename, classname);
++ *w = TkCreateMainWindow(interp, display, basename, classname);
+
+ if (*w == NULL) {
+ fprintf(stderr, "%s\n", (interp)->result);
diff --git a/graphics/plplot/patches/patch-ad b/graphics/plplot/patches/patch-ad
new file mode 100644
index 00000000000..bfc24916f6c
--- /dev/null
+++ b/graphics/plplot/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+--- bindings/tcl/tclMain.c.orig Sat Oct 21 14:23:43 2000
++++ bindings/tcl/tclMain.c
+@@ -244,7 +244,7 @@
+ if (fgets(buffer, 1000, stdin) == NULL) {
+ if (ferror(stdin)) {
+ if (errno == EINTR) {
+- if (tcl_AsyncReady) {
++ if (Tcl_AsyncReady) {
+ (void) Tcl_AsyncInvoke((Tcl_Interp *) NULL, 0);
+ }
+ clearerr(stdin);
diff --git a/graphics/plplot/patches/patch-ae b/graphics/plplot/patches/patch-ae
new file mode 100644
index 00000000000..815f20cec06
--- /dev/null
+++ b/graphics/plplot/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+--- bindings/tk/tkMain.c.orig Sat Oct 21 14:27:04 2000
++++ bindings/tk/tkMain.c
+@@ -201,7 +201,7 @@
+ * Initialize the Tk application.
+ */
+
+- mainWindow = Tk_CreateMainWindow(interp, display, name, "Tk");
++ mainWindow = TkCreateMainWindow(interp, display, name, "Tk");
+ if (mainWindow == NULL) {
+ fprintf(stderr, "%s\n", interp->result);
+ exit(1);
diff --git a/graphics/plplot/patches/patch-af b/graphics/plplot/patches/patch-af
new file mode 100644
index 00000000000..295b405553a
--- /dev/null
+++ b/graphics/plplot/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+--- utils/pltek.c.orig
++++ utils/pltek.c
+@@ -110,7 +110,7 @@
+ oldpage = ipage;
+ printf("Page %d/%d> ", ipage, npage);
+
+- gets(ibuf);
++ fgets(ibuf, sizeof(ibuf), stdin);
+ c = ibuf[0];
+
+ /* User input a page number or a return */
diff --git a/graphics/plplot/patches/patch-ag b/graphics/plplot/patches/patch-ag
new file mode 100644
index 00000000000..d14cf5a9e77
--- /dev/null
+++ b/graphics/plplot/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+
+--- src/plctrl.c.orig
++++ src/plctrl.c
+@@ -131,7 +131,7 @@
+ /* Anything else is assumed to be Unix */
+
+ #ifndef PLLIBDEV
+-#define PLLIBDEV "/usr/local/plplot/lib"
++#define PLLIBDEV "%%PREFIX%%/lib/plplot"
+ #endif
+
+ #endif
diff --git a/graphics/plplot/pkg/COMMENT b/graphics/plplot/pkg/COMMENT
new file mode 100644
index 00000000000..fe74e1c9442
--- /dev/null
+++ b/graphics/plplot/pkg/COMMENT
@@ -0,0 +1 @@
+Scientific plotting library
diff --git a/graphics/plplot/pkg/DESCR b/graphics/plplot/pkg/DESCR
new file mode 100644
index 00000000000..cf2f0ca6b86
--- /dev/null
+++ b/graphics/plplot/pkg/DESCR
@@ -0,0 +1,15 @@
+PLplot is a scientific plotting package which is relatively small,
+portable, and freely distributable. It has a wide range of plot types
+including line (linear, log), contour, 3D, fill, and almost 1000
+characters (including Greek and mathematical) in its extended font
+set. The package is designed to make it easy to quickly get graphical
+output; only a handful of function calls is typically required. For
+more advanced use, virtually all aspects of plotting are configurable.
+
+PLplot includes device drivers for postscript, xfig, HPGL, impress,
+native meta-file, X-Window, Xterm, Tcl/Tk, Tektronix terminals,
+vt100/tek and vt320/tek emulators, and others.
+
+The PLplot package includes interfaces for the Fortran, C, C++, and
+Tcl languages. There is also a Tcl based interpreter (pltcl), allowing
+interactive plotting.
diff --git a/graphics/plplot/pkg/PLIST.no-x11 b/graphics/plplot/pkg/PLIST.no-x11
new file mode 100644
index 00000000000..66363c2bfc5
--- /dev/null
+++ b/graphics/plplot/pkg/PLIST.no-x11
@@ -0,0 +1,139 @@
+@comment $NetBSD: PLIST.no-x11,v 1.1.1.1 2000/12/02 05:40:28 jtb Exp $
+bin/plm2gif
+bin/plpr
+bin/plrender
+bin/pltek
+include/plplot/pdf.h
+include/plplot/plevent.h
+include/plplot/plplot.h
+include/plplot/plplotP.h
+include/plplot/plstream.h
+include/plplot/plstrm.h
+include/plplot/plxwd.h
+lib/plplot/cglobe.map
+lib/plplot/globe.map
+lib/plplot/libplplotdb.a
+lib/plplot/plstnd5.fnt
+lib/plplot/plxtnd5.fnt
+lib/plplot/usa.map
+lib/plplot/usaglobe.map
+share/doc/plplot/CHANGES
+share/doc/plplot/COPYING.LIB
+share/doc/plplot/Copyright
+share/doc/plplot/FAQ
+share/doc/plplot/NEWS
+share/doc/plplot/README
+share/doc/plplot/README.local
+share/doc/plplot/ToDo
+share/doc/plplot/mklinks
+share/examples/plplot/Makefile
+share/examples/plplot/c/Makefile
+share/examples/plplot/c/plcdemos.h
+share/examples/plplot/c/tutor.c
+share/examples/plplot/c/x01c.c
+share/examples/plplot/c/x02c.c
+share/examples/plplot/c/x03c.c
+share/examples/plplot/c/x04c.c
+share/examples/plplot/c/x05c.c
+share/examples/plplot/c/x06c.c
+share/examples/plplot/c/x07c.c
+share/examples/plplot/c/x08c.c
+share/examples/plplot/c/x09c.c
+share/examples/plplot/c/x10c.c
+share/examples/plplot/c/x11c.c
+share/examples/plplot/c/x12c.c
+share/examples/plplot/c/x13c.c
+share/examples/plplot/c/x14c.c
+share/examples/plplot/c/x15c.c
+share/examples/plplot/c/x16c.c
+share/examples/plplot/c/x17c.c
+share/examples/plplot/c/x18c.c
+share/examples/plplot/c/x19c.c
+share/examples/plplot/f77/Makefile
+share/examples/plplot/f77/x01f.f
+share/examples/plplot/f77/x02f.f
+share/examples/plplot/f77/x03f.f
+share/examples/plplot/f77/x04f.f
+share/examples/plplot/f77/x05f.f
+share/examples/plplot/f77/x06f.f
+share/examples/plplot/f77/x07f.f
+share/examples/plplot/f77/x08f.f
+share/examples/plplot/f77/x09f.f
+share/examples/plplot/f77/x10f.f
+share/examples/plplot/f77/x11f.f
+share/examples/plplot/f77/x12f.f
+share/examples/plplot/f77/x13f.f
+share/examples/plplot/f77/x16f.f
+share/examples/plplot/python/tutorpy
+share/examples/plplot/python/x01py
+share/examples/plplot/python/x02py
+share/examples/plplot/python/x03py
+share/examples/plplot/python/x04py
+share/examples/plplot/python/x05py
+share/examples/plplot/python/x06py
+share/examples/plplot/python/x07py
+share/examples/plplot/python/x08py
+share/examples/plplot/python/x09py
+share/examples/plplot/python/x10py
+share/examples/plplot/python/x11py
+share/examples/plplot/python/x12py
+share/examples/plplot/python/x13py
+share/examples/plplot/python/x14py
+share/examples/plplot/python/x15py
+share/examples/plplot/python/x16py
+share/examples/plplot/python/x17py
+share/examples/plplot/python/x18py
+share/examples/plplot/python/x19py
+share/examples/plplot/tcl/plgrid.tcl
+share/examples/plplot/tcl/plot.dat
+share/examples/plplot/tcl/plot.tcl
+share/examples/plplot/tcl/tcldemos.tcl
+share/examples/plplot/tcl/x01.tcl
+share/examples/plplot/tcl/x02.tcl
+share/examples/plplot/tcl/x03.tcl
+share/examples/plplot/tcl/x04.tcl
+share/examples/plplot/tcl/x05.tcl
+share/examples/plplot/tcl/x06.tcl
+share/examples/plplot/tcl/x07.tcl
+share/examples/plplot/tcl/x08.tcl
+share/examples/plplot/tcl/x09.tcl
+share/examples/plplot/tcl/x10.tcl
+share/examples/plplot/tcl/x11.tcl
+share/examples/plplot/tcl/x12.tcl
+share/examples/plplot/tcl/x13.tcl
+share/examples/plplot/tcl/x14.tcl
+share/examples/plplot/tcl/x15.tcl
+share/examples/plplot/tcl/x16.tcl
+share/examples/plplot/tk/Makefile
+share/examples/plplot/tk/tk01
+share/examples/plplot/tk/tk02
+share/examples/plplot/tk/tk03
+share/examples/plplot/tk/tk04
+share/examples/plplot/tk/tkdemos.tcl
+share/examples/plplot/tk/x01.tcl
+share/examples/plplot/tk/x02.tcl
+share/examples/plplot/tk/x03.tcl
+share/examples/plplot/tk/x04.tcl
+share/examples/plplot/tk/x05.tcl
+share/examples/plplot/tk/x06.tcl
+share/examples/plplot/tk/x07.tcl
+share/examples/plplot/tk/x08.tcl
+share/examples/plplot/tk/x09.tcl
+share/examples/plplot/tk/x10.tcl
+share/examples/plplot/tk/x11.tcl
+share/examples/plplot/tk/x12.tcl
+share/examples/plplot/tk/x13.tcl
+share/examples/plplot/tk/x14.tcl
+share/examples/plplot/tk/x15.tcl
+share/examples/plplot/tk/x16.tcl
+share/examples/plplot/tk/xtk01.c
+share/examples/plplot/tk/xtk02.c
+share/examples/plplot/tk/xtk04.c
+@dirrm share/examples/plplot/tk
+@dirrm share/examples/plplot/tcl
+@dirrm share/examples/plplot/python
+@dirrm share/examples/plplot/f77
+@dirrm share/examples/plplot/c
+@dirrm share/examples/plplot
+@dirrm share/doc/plplot
+@dirrm lib/plplot
diff --git a/graphics/plplot/pkg/PLIST.tcl b/graphics/plplot/pkg/PLIST.tcl
new file mode 100644
index 00000000000..762a17b6b4c
--- /dev/null
+++ b/graphics/plplot/pkg/PLIST.tcl
@@ -0,0 +1,142 @@
+@comment $NetBSD: PLIST.tcl,v 1.1.1.1 2000/12/02 05:40:30 jtb Exp $
+bin/plm2gif
+bin/plpr
+bin/plrender
+bin/pltcl
+bin/pltek
+include/plplot/pdf.h
+include/plplot/plevent.h
+include/plplot/plplot.h
+include/plplot/plplotP.h
+include/plplot/plstream.h
+include/plplot/plstrm.h
+include/plplot/pltcl.h
+include/plplot/plxwd.h
+include/plplot/tclMatrix.h
+lib/plplot/cglobe.map
+lib/plplot/globe.map
+lib/plplot/libplplotdb.a
+lib/plplot/plstnd5.fnt
+lib/plplot/plxtnd5.fnt
+lib/plplot/usa.map
+lib/plplot/usaglobe.map
+share/doc/plplot/CHANGES
+share/doc/plplot/COPYING.LIB
+share/doc/plplot/Copyright
+share/doc/plplot/FAQ
+share/doc/plplot/NEWS
+share/doc/plplot/README
+share/doc/plplot/README.local
+share/doc/plplot/ToDo
+share/doc/plplot/mklinks
+share/examples/plplot/Makefile
+share/examples/plplot/c/Makefile
+share/examples/plplot/c/plcdemos.h
+share/examples/plplot/c/tutor.c
+share/examples/plplot/c/x01c.c
+share/examples/plplot/c/x02c.c
+share/examples/plplot/c/x03c.c
+share/examples/plplot/c/x04c.c
+share/examples/plplot/c/x05c.c
+share/examples/plplot/c/x06c.c
+share/examples/plplot/c/x07c.c
+share/examples/plplot/c/x08c.c
+share/examples/plplot/c/x09c.c
+share/examples/plplot/c/x10c.c
+share/examples/plplot/c/x11c.c
+share/examples/plplot/c/x12c.c
+share/examples/plplot/c/x13c.c
+share/examples/plplot/c/x14c.c
+share/examples/plplot/c/x15c.c
+share/examples/plplot/c/x16c.c
+share/examples/plplot/c/x17c.c
+share/examples/plplot/c/x18c.c
+share/examples/plplot/c/x19c.c
+share/examples/plplot/f77/Makefile
+share/examples/plplot/f77/x01f.f
+share/examples/plplot/f77/x02f.f
+share/examples/plplot/f77/x03f.f
+share/examples/plplot/f77/x04f.f
+share/examples/plplot/f77/x05f.f
+share/examples/plplot/f77/x06f.f
+share/examples/plplot/f77/x07f.f
+share/examples/plplot/f77/x08f.f
+share/examples/plplot/f77/x09f.f
+share/examples/plplot/f77/x10f.f
+share/examples/plplot/f77/x11f.f
+share/examples/plplot/f77/x12f.f
+share/examples/plplot/f77/x13f.f
+share/examples/plplot/f77/x16f.f
+share/examples/plplot/python/tutorpy
+share/examples/plplot/python/x01py
+share/examples/plplot/python/x02py
+share/examples/plplot/python/x03py
+share/examples/plplot/python/x04py
+share/examples/plplot/python/x05py
+share/examples/plplot/python/x06py
+share/examples/plplot/python/x07py
+share/examples/plplot/python/x08py
+share/examples/plplot/python/x09py
+share/examples/plplot/python/x10py
+share/examples/plplot/python/x11py
+share/examples/plplot/python/x12py
+share/examples/plplot/python/x13py
+share/examples/plplot/python/x14py
+share/examples/plplot/python/x15py
+share/examples/plplot/python/x16py
+share/examples/plplot/python/x17py
+share/examples/plplot/python/x18py
+share/examples/plplot/python/x19py
+share/examples/plplot/tcl/plgrid.tcl
+share/examples/plplot/tcl/plot.dat
+share/examples/plplot/tcl/plot.tcl
+share/examples/plplot/tcl/tcldemos.tcl
+share/examples/plplot/tcl/x01.tcl
+share/examples/plplot/tcl/x02.tcl
+share/examples/plplot/tcl/x03.tcl
+share/examples/plplot/tcl/x04.tcl
+share/examples/plplot/tcl/x05.tcl
+share/examples/plplot/tcl/x06.tcl
+share/examples/plplot/tcl/x07.tcl
+share/examples/plplot/tcl/x08.tcl
+share/examples/plplot/tcl/x09.tcl
+share/examples/plplot/tcl/x10.tcl
+share/examples/plplot/tcl/x11.tcl
+share/examples/plplot/tcl/x12.tcl
+share/examples/plplot/tcl/x13.tcl
+share/examples/plplot/tcl/x14.tcl
+share/examples/plplot/tcl/x15.tcl
+share/examples/plplot/tcl/x16.tcl
+share/examples/plplot/tk/Makefile
+share/examples/plplot/tk/tk01
+share/examples/plplot/tk/tk02
+share/examples/plplot/tk/tk03
+share/examples/plplot/tk/tk04
+share/examples/plplot/tk/tkdemos.tcl
+share/examples/plplot/tk/x01.tcl
+share/examples/plplot/tk/x02.tcl
+share/examples/plplot/tk/x03.tcl
+share/examples/plplot/tk/x04.tcl
+share/examples/plplot/tk/x05.tcl
+share/examples/plplot/tk/x06.tcl
+share/examples/plplot/tk/x07.tcl
+share/examples/plplot/tk/x08.tcl
+share/examples/plplot/tk/x09.tcl
+share/examples/plplot/tk/x10.tcl
+share/examples/plplot/tk/x11.tcl
+share/examples/plplot/tk/x12.tcl
+share/examples/plplot/tk/x13.tcl
+share/examples/plplot/tk/x14.tcl
+share/examples/plplot/tk/x15.tcl
+share/examples/plplot/tk/x16.tcl
+share/examples/plplot/tk/xtk01.c
+share/examples/plplot/tk/xtk02.c
+share/examples/plplot/tk/xtk04.c
+@dirrm share/examples/plplot/tk
+@dirrm share/examples/plplot/tcl
+@dirrm share/examples/plplot/python
+@dirrm share/examples/plplot/f77
+@dirrm share/examples/plplot/c
+@dirrm share/examples/plplot
+@dirrm share/doc/plplot
+@dirrm lib/plplot
diff --git a/graphics/plplot/pkg/PLIST.xwin b/graphics/plplot/pkg/PLIST.xwin
new file mode 100644
index 00000000000..c6062d865aa
--- /dev/null
+++ b/graphics/plplot/pkg/PLIST.xwin
@@ -0,0 +1,139 @@
+@comment $NetBSD: PLIST.xwin,v 1.1.1.1 2000/12/02 05:40:31 jtb Exp $
+bin/plm2gif
+bin/plpr
+bin/plrender
+bin/pltek
+include/plplot/pdf.h
+include/plplot/plevent.h
+include/plplot/plplot.h
+include/plplot/plplotP.h
+include/plplot/plstream.h
+include/plplot/plstrm.h
+include/plplot/plxwd.h
+lib/plplot/cglobe.map
+lib/plplot/globe.map
+lib/plplot/libplplotdX.a
+lib/plplot/plstnd5.fnt
+lib/plplot/plxtnd5.fnt
+lib/plplot/usa.map
+lib/plplot/usaglobe.map
+share/doc/plplot/CHANGES
+share/doc/plplot/COPYING.LIB
+share/doc/plplot/Copyright
+share/doc/plplot/FAQ
+share/doc/plplot/NEWS
+share/doc/plplot/README
+share/doc/plplot/README.local
+share/doc/plplot/ToDo
+share/doc/plplot/mklinks
+share/examples/plplot/Makefile
+share/examples/plplot/c/Makefile
+share/examples/plplot/c/plcdemos.h
+share/examples/plplot/c/tutor.c
+share/examples/plplot/c/x01c.c
+share/examples/plplot/c/x02c.c
+share/examples/plplot/c/x03c.c
+share/examples/plplot/c/x04c.c
+share/examples/plplot/c/x05c.c
+share/examples/plplot/c/x06c.c
+share/examples/plplot/c/x07c.c
+share/examples/plplot/c/x08c.c
+share/examples/plplot/c/x09c.c
+share/examples/plplot/c/x10c.c
+share/examples/plplot/c/x11c.c
+share/examples/plplot/c/x12c.c
+share/examples/plplot/c/x13c.c
+share/examples/plplot/c/x14c.c
+share/examples/plplot/c/x15c.c
+share/examples/plplot/c/x16c.c
+share/examples/plplot/c/x17c.c
+share/examples/plplot/c/x18c.c
+share/examples/plplot/c/x19c.c
+share/examples/plplot/f77/Makefile
+share/examples/plplot/f77/x01f.f
+share/examples/plplot/f77/x02f.f
+share/examples/plplot/f77/x03f.f
+share/examples/plplot/f77/x04f.f
+share/examples/plplot/f77/x05f.f
+share/examples/plplot/f77/x06f.f
+share/examples/plplot/f77/x07f.f
+share/examples/plplot/f77/x08f.f
+share/examples/plplot/f77/x09f.f
+share/examples/plplot/f77/x10f.f
+share/examples/plplot/f77/x11f.f
+share/examples/plplot/f77/x12f.f
+share/examples/plplot/f77/x13f.f
+share/examples/plplot/f77/x16f.f
+share/examples/plplot/python/tutorpy
+share/examples/plplot/python/x01py
+share/examples/plplot/python/x02py
+share/examples/plplot/python/x03py
+share/examples/plplot/python/x04py
+share/examples/plplot/python/x05py
+share/examples/plplot/python/x06py
+share/examples/plplot/python/x07py
+share/examples/plplot/python/x08py
+share/examples/plplot/python/x09py
+share/examples/plplot/python/x10py
+share/examples/plplot/python/x11py
+share/examples/plplot/python/x12py
+share/examples/plplot/python/x13py
+share/examples/plplot/python/x14py
+share/examples/plplot/python/x15py
+share/examples/plplot/python/x16py
+share/examples/plplot/python/x17py
+share/examples/plplot/python/x18py
+share/examples/plplot/python/x19py
+share/examples/plplot/tcl/plgrid.tcl
+share/examples/plplot/tcl/plot.dat
+share/examples/plplot/tcl/plot.tcl
+share/examples/plplot/tcl/tcldemos.tcl
+share/examples/plplot/tcl/x01.tcl
+share/examples/plplot/tcl/x02.tcl
+share/examples/plplot/tcl/x03.tcl
+share/examples/plplot/tcl/x04.tcl
+share/examples/plplot/tcl/x05.tcl
+share/examples/plplot/tcl/x06.tcl
+share/examples/plplot/tcl/x07.tcl
+share/examples/plplot/tcl/x08.tcl
+share/examples/plplot/tcl/x09.tcl
+share/examples/plplot/tcl/x10.tcl
+share/examples/plplot/tcl/x11.tcl
+share/examples/plplot/tcl/x12.tcl
+share/examples/plplot/tcl/x13.tcl
+share/examples/plplot/tcl/x14.tcl
+share/examples/plplot/tcl/x15.tcl
+share/examples/plplot/tcl/x16.tcl
+share/examples/plplot/tk/Makefile
+share/examples/plplot/tk/tk01
+share/examples/plplot/tk/tk02
+share/examples/plplot/tk/tk03
+share/examples/plplot/tk/tk04
+share/examples/plplot/tk/tkdemos.tcl
+share/examples/plplot/tk/x01.tcl
+share/examples/plplot/tk/x02.tcl
+share/examples/plplot/tk/x03.tcl
+share/examples/plplot/tk/x04.tcl
+share/examples/plplot/tk/x05.tcl
+share/examples/plplot/tk/x06.tcl
+share/examples/plplot/tk/x07.tcl
+share/examples/plplot/tk/x08.tcl
+share/examples/plplot/tk/x09.tcl
+share/examples/plplot/tk/x10.tcl
+share/examples/plplot/tk/x11.tcl
+share/examples/plplot/tk/x12.tcl
+share/examples/plplot/tk/x13.tcl
+share/examples/plplot/tk/x14.tcl
+share/examples/plplot/tk/x15.tcl
+share/examples/plplot/tk/x16.tcl
+share/examples/plplot/tk/xtk01.c
+share/examples/plplot/tk/xtk02.c
+share/examples/plplot/tk/xtk04.c
+@dirrm share/examples/plplot/tk
+@dirrm share/examples/plplot/tcl
+@dirrm share/examples/plplot/python
+@dirrm share/examples/plplot/f77
+@dirrm share/examples/plplot/c
+@dirrm share/examples/plplot
+@dirrm share/doc/plplot
+@dirrm lib/plplot
diff --git a/graphics/plplot/pkg/PLIST.xwin-tcl-tk b/graphics/plplot/pkg/PLIST.xwin-tcl-tk
new file mode 100644
index 00000000000..bf5a71d4fcf
--- /dev/null
+++ b/graphics/plplot/pkg/PLIST.xwin-tcl-tk
@@ -0,0 +1,164 @@
+@comment $NetBSD: PLIST.xwin-tcl-tk,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+bin/plm2gif
+bin/plpr
+bin/plrender
+bin/plserver
+bin/pltcl
+bin/pltek
+include/plplot/pdf.h
+include/plplot/plevent.h
+include/plplot/plplot.h
+include/plplot/plplotP.h
+include/plplot/plstream.h
+include/plplot/plstrm.h
+include/plplot/pltcl.h
+include/plplot/pltk.h
+include/plplot/plxwd.h
+include/plplot/tclMatrix.h
+lib/plplot/cglobe.map
+lib/plplot/globe.map
+lib/plplot/libplplotdtk.a
+lib/plplot/plstnd5.fnt
+lib/plplot/plxtnd5.fnt
+lib/plplot/usa.map
+lib/plplot/usaglobe.map
+libdata/plplot/tcl/FileSelector.tcl
+libdata/plplot/tcl/PLWin.tcl
+libdata/plplot/tcl/PLXWin.tcl
+libdata/plplot/tcl/about.tcl
+libdata/plplot/tcl/cmap0a.pal
+libdata/plplot/tcl/cmap1a.pal
+libdata/plplot/tcl/cmap1b.pal
+libdata/plplot/tcl/cmap1c.pal
+libdata/plplot/tcl/cmap1d.pal
+libdata/plplot/tcl/help_gui.tcl
+libdata/plplot/tcl/help_keys.tcl
+libdata/plplot/tcl/help_tcltk.tcl
+libdata/plplot/tcl/plclient.tcl
+libdata/plplot/tcl/plcolor.tcl
+libdata/plplot/tcl/plconfig.tcl
+libdata/plplot/tcl/pldefaults.tcl
+libdata/plplot/tcl/plserver.tcl
+libdata/plplot/tcl/pltools.tcl
+libdata/plplot/tcl/plwidget.tcl
+libdata/plplot/tcl/tclIndex
+share/doc/plplot/CHANGES
+share/doc/plplot/COPYING.LIB
+share/doc/plplot/Copyright
+share/doc/plplot/FAQ
+share/doc/plplot/NEWS
+share/doc/plplot/README
+share/doc/plplot/README.local
+share/doc/plplot/ToDo
+share/doc/plplot/mklinks
+share/examples/plplot/Makefile
+share/examples/plplot/c/Makefile
+share/examples/plplot/c/plcdemos.h
+share/examples/plplot/c/tutor.c
+share/examples/plplot/c/x01c.c
+share/examples/plplot/c/x02c.c
+share/examples/plplot/c/x03c.c
+share/examples/plplot/c/x04c.c
+share/examples/plplot/c/x05c.c
+share/examples/plplot/c/x06c.c
+share/examples/plplot/c/x07c.c
+share/examples/plplot/c/x08c.c
+share/examples/plplot/c/x09c.c
+share/examples/plplot/c/x10c.c
+share/examples/plplot/c/x11c.c
+share/examples/plplot/c/x12c.c
+share/examples/plplot/c/x13c.c
+share/examples/plplot/c/x14c.c
+share/examples/plplot/c/x15c.c
+share/examples/plplot/c/x16c.c
+share/examples/plplot/c/x17c.c
+share/examples/plplot/c/x18c.c
+share/examples/plplot/c/x19c.c
+share/examples/plplot/f77/Makefile
+share/examples/plplot/f77/x01f.f
+share/examples/plplot/f77/x02f.f
+share/examples/plplot/f77/x03f.f
+share/examples/plplot/f77/x04f.f
+share/examples/plplot/f77/x05f.f
+share/examples/plplot/f77/x06f.f
+share/examples/plplot/f77/x07f.f
+share/examples/plplot/f77/x08f.f
+share/examples/plplot/f77/x09f.f
+share/examples/plplot/f77/x10f.f
+share/examples/plplot/f77/x11f.f
+share/examples/plplot/f77/x12f.f
+share/examples/plplot/f77/x13f.f
+share/examples/plplot/f77/x16f.f
+share/examples/plplot/python/tutorpy
+share/examples/plplot/python/x01py
+share/examples/plplot/python/x02py
+share/examples/plplot/python/x03py
+share/examples/plplot/python/x04py
+share/examples/plplot/python/x05py
+share/examples/plplot/python/x06py
+share/examples/plplot/python/x07py
+share/examples/plplot/python/x08py
+share/examples/plplot/python/x09py
+share/examples/plplot/python/x10py
+share/examples/plplot/python/x11py
+share/examples/plplot/python/x12py
+share/examples/plplot/python/x13py
+share/examples/plplot/python/x14py
+share/examples/plplot/python/x15py
+share/examples/plplot/python/x16py
+share/examples/plplot/python/x17py
+share/examples/plplot/python/x18py
+share/examples/plplot/python/x19py
+share/examples/plplot/tcl/plgrid.tcl
+share/examples/plplot/tcl/plot.dat
+share/examples/plplot/tcl/plot.tcl
+share/examples/plplot/tcl/tcldemos.tcl
+share/examples/plplot/tcl/x01.tcl
+share/examples/plplot/tcl/x02.tcl
+share/examples/plplot/tcl/x03.tcl
+share/examples/plplot/tcl/x04.tcl
+share/examples/plplot/tcl/x05.tcl
+share/examples/plplot/tcl/x06.tcl
+share/examples/plplot/tcl/x07.tcl
+share/examples/plplot/tcl/x08.tcl
+share/examples/plplot/tcl/x09.tcl
+share/examples/plplot/tcl/x10.tcl
+share/examples/plplot/tcl/x11.tcl
+share/examples/plplot/tcl/x12.tcl
+share/examples/plplot/tcl/x13.tcl
+share/examples/plplot/tcl/x14.tcl
+share/examples/plplot/tcl/x15.tcl
+share/examples/plplot/tcl/x16.tcl
+share/examples/plplot/tk/Makefile
+share/examples/plplot/tk/tk01
+share/examples/plplot/tk/tk02
+share/examples/plplot/tk/tk03
+share/examples/plplot/tk/tk04
+share/examples/plplot/tk/tkdemos.tcl
+share/examples/plplot/tk/x01.tcl
+share/examples/plplot/tk/x02.tcl
+share/examples/plplot/tk/x03.tcl
+share/examples/plplot/tk/x04.tcl
+share/examples/plplot/tk/x05.tcl
+share/examples/plplot/tk/x06.tcl
+share/examples/plplot/tk/x07.tcl
+share/examples/plplot/tk/x08.tcl
+share/examples/plplot/tk/x09.tcl
+share/examples/plplot/tk/x10.tcl
+share/examples/plplot/tk/x11.tcl
+share/examples/plplot/tk/x12.tcl
+share/examples/plplot/tk/x13.tcl
+share/examples/plplot/tk/x14.tcl
+share/examples/plplot/tk/x15.tcl
+share/examples/plplot/tk/x16.tcl
+share/examples/plplot/tk/xtk01.c
+share/examples/plplot/tk/xtk02.c
+share/examples/plplot/tk/xtk04.c
+@dirrm share/examples/plplot/tk
+@dirrm share/examples/plplot/tcl
+@dirrm share/examples/plplot/python
+@dirrm share/examples/plplot/f77
+@dirrm share/examples/plplot/c
+@dirrm share/examples/plplot
+@dirrm share/doc/plplot
+@dirrm lib/plplot