summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-06-02 08:09:37 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-06-02 08:09:37 +0000
commitd7c14f6605749a0215e5df9f5d379f1151417e80 (patch)
tree521e730cc23e11a93681abca01dc4f43fc83d937 /math
parentActivate pygtk. (diff)
New port pygist, a python interface to the scientific plotting
library gist, which is distributed with yorick.
Notes
Notes: svn path=/head/; revision=11210
Diffstat (limited to 'math')
-rw-r--r--math/pygist/Makefile42
-rw-r--r--math/pygist/distinfo1
-rw-r--r--math/pygist/files/patch-aa11
-rw-r--r--math/pygist/files/patch-ab22
-rw-r--r--math/pygist/pkg-comment1
-rw-r--r--math/pygist/pkg-descr20
-rw-r--r--math/pygist/pkg-plist120
7 files changed, 217 insertions, 0 deletions
diff --git a/math/pygist/Makefile b/math/pygist/Makefile
new file mode 100644
index 000000000000..7e3badc10f4e
--- /dev/null
+++ b/math/pygist/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: pygist
+# Version required: 1.3
+# Date created: 30 May 1998
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= PyGist-13
+PKGNAME= pygist-1.3
+CATEGORIES= math
+MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/python/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tg@FreeBSD.ORG
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
+ ${PREFIX}/lib/yorick/1.4/lib/libgist.a:${PORTSDIR}/lang/yorick \
+ ${SITEPYDIR}/Numeric.py:${PORTSDIR}/math/numpy
+RUN_DEPENDS= python:${PORTSDIR}/lang/python \
+ ${SITEPYDIR}/Numeric.py:${PORTSDIR}/math/numpy
+
+WRKSRC= ${WRKDIR}/LLNLDistribution/Graphics
+CONFIGURE_ENV= PREFIX=${PREFIX}
+ALL_TARGET= sharedmods
+MAKE_FLAGS+= 'OPT=${CFLAGS}'
+
+PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
+SITEPYDIR= ${PREFIX}/lib/python1.5/site-packages
+EXAMPLEDIR= ${PREFIX}/share/examples/PyGist
+
+do-configure:
+ @(cd ${WRKSRC} && ${CONFIGURE_ENV} python makethis.py)
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/*/Lib/* ${SITEPYDIR}
+ @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${SITEPYDIR}
+ ${MKDIR} ${EXAMPLEDIR}
+ @${RM} ${WRKSRC}/*/Demo/*.orig
+ ${INSTALL_DATA} ${WRKSRC}/*/Demo/* ${EXAMPLEDIR}
+
+.include <bsd.port.mk>
diff --git a/math/pygist/distinfo b/math/pygist/distinfo
new file mode 100644
index 000000000000..9da2a495b1b2
--- /dev/null
+++ b/math/pygist/distinfo
@@ -0,0 +1 @@
+MD5 (PyGist-13.tgz) = 830a92e30e86e04ad7074b684f7959a4
diff --git a/math/pygist/files/patch-aa b/math/pygist/files/patch-aa
new file mode 100644
index 000000000000..1f5780aeda17
--- /dev/null
+++ b/math/pygist/files/patch-aa
@@ -0,0 +1,11 @@
+--- ../Tools/compile.py.orig Thu Mar 12 19:15:10 1998
++++ ../Tools/compile.py Sun Mar 29 12:53:10 1998
+@@ -632,7 +632,7 @@
+
+ compileall.compile_dir(".")
+ os.system("make -f Makefile.pre.in boot")
+- os.system("make")
++# os.system("make")
+
+ if sys.platform == 'win32':
+ swig_found = find_swig()
diff --git a/math/pygist/files/patch-ab b/math/pygist/files/patch-ab
new file mode 100644
index 000000000000..8d8c53bef5a7
--- /dev/null
+++ b/math/pygist/files/patch-ab
@@ -0,0 +1,22 @@
+--- Setup.orig Fri May 8 19:40:19 1998
++++ Setup Sat May 30 13:24:50 1998
+@@ -1,15 +1,15 @@
+-*shared*
++*shared*
+
+ #This file is designed for building a dynamic extension.
+
+ # Gist module
+ # Change XLIB to the directory where libX11.a is found on your system.
+ # Change YORHOME to the directory (--prefix) where Yorick was installed.
+-XLIB = /usr/X11R6/lib
+-YORHOME = /usr/local
++XLIB = ${X11BASE}/lib
++YORHOME = ${PREFIX}
+ GISTH = $(YORHOME)/lib/yorick/1.4/h
+ GISTL = $(YORHOME)/lib/yorick/1.4/lib
+-gistC Gist/Src/gistCmodule.c -I$(GISTH) -L$(GISTL) -L$(XLIB) -lgist -lX11 -lm
++gistC Gist/Src/gistCmodule.c -I${X11BASE}/include -I$(GISTH) -L$(GISTL) -L$(XLIB) -lgist -lX11 -lm
+
+ # Arrayfns module - supports Z. Motteler's 3D additions to pygist
+ arrayfns Arrayfcns/Src/arrayfnsmodule.c
diff --git a/math/pygist/pkg-comment b/math/pygist/pkg-comment
new file mode 100644
index 000000000000..4140a952322b
--- /dev/null
+++ b/math/pygist/pkg-comment
@@ -0,0 +1 @@
+Python interface for the Gist graphics package.
diff --git a/math/pygist/pkg-descr b/math/pygist/pkg-descr
new file mode 100644
index 000000000000..6025ecdc7e1d
--- /dev/null
+++ b/math/pygist/pkg-descr
@@ -0,0 +1,20 @@
+The Python Gist Scientific Graphics Package, version 1.5, written by
+Lee Busby and Zane Motteler of Lawrence Livermore National Laboratory,
+is a set of Python modules for production of general scientific graphics.
+We abbreviate the name to PyGist here and elsewhere.
+
+Gist is a scientific graphics library written by David H. Munro of Lawrence
+Livermore National Laboratory. It features support for three common
+graphics output devices: X-Windows, (Color) PostScript, and ANSI/ISO
+Standard Computer Graphics Metafiles (CGM). The library is small
+(written directly to Xlib), portable, efficient, and full-featured. It
+produces x-vs-y plots with good tick marks and tick labels,
+2-D quadrilateral mesh plots with contours, vector fields, or pseudocolor
+maps on such meshes, and a selection of 3-D plots.
+
+The Python Gist module utilizes the ``Numerical'' package due to
+J. Hugunin and others. It is therefore fast and able to handle large
+datasets. The Gist module includes an X-windows event dispatcher which
+can be dynamically added to the Python interpreter. This makes fast
+mouse-controlled zoom, pan, and other graphic operations available to
+the researcher while maintaining the usual Python command-line interface.
diff --git a/math/pygist/pkg-plist b/math/pygist/pkg-plist
new file mode 100644
index 000000000000..04c18e9f6cb3
--- /dev/null
+++ b/math/pygist/pkg-plist
@@ -0,0 +1,120 @@
+lib/python1.5/site-packages/GistPlotter.py
+lib/python1.5/site-packages/GistPlotter.pyc
+lib/python1.5/site-packages/GistPlotter.pyo
+lib/python1.5/site-packages/NarPlotter.py
+lib/python1.5/site-packages/NarPlotter.pyc
+lib/python1.5/site-packages/NarPlotter.pyo
+lib/python1.5/site-packages/animation2d.py
+lib/python1.5/site-packages/animation2d.pyc
+lib/python1.5/site-packages/animation2d.pyo
+lib/python1.5/site-packages/arrayfnsmodule.so
+lib/python1.5/site-packages/cellarray.py
+lib/python1.5/site-packages/cellarray.pyc
+lib/python1.5/site-packages/cellarray.pyo
+lib/python1.5/site-packages/colorbar.py
+lib/python1.5/site-packages/colorbar.pyc
+lib/python1.5/site-packages/colorbar.pyo
+lib/python1.5/site-packages/curve.py
+lib/python1.5/site-packages/curve.pyc
+lib/python1.5/site-packages/curve.pyo
+lib/python1.5/site-packages/ezplot.py
+lib/python1.5/site-packages/ezplot.pyc
+lib/python1.5/site-packages/ezplot.pyo
+lib/python1.5/site-packages/gist.help
+lib/python1.5/site-packages/gist.py
+lib/python1.5/site-packages/gist.pyc
+lib/python1.5/site-packages/gist.pyo
+lib/python1.5/site-packages/gist3dhelp.py
+lib/python1.5/site-packages/gist3dhelp.pyc
+lib/python1.5/site-packages/gist3dhelp.pyo
+lib/python1.5/site-packages/gistCmodule.so
+lib/python1.5/site-packages/graftypes.py
+lib/python1.5/site-packages/graftypes.pyc
+lib/python1.5/site-packages/graftypes.pyo
+lib/python1.5/site-packages/graph.py
+lib/python1.5/site-packages/graph.pyc
+lib/python1.5/site-packages/graph.pyo
+lib/python1.5/site-packages/graph2d.py
+lib/python1.5/site-packages/graph2d.pyc
+lib/python1.5/site-packages/graph2d.pyo
+lib/python1.5/site-packages/graph3d.py
+lib/python1.5/site-packages/graph3d.pyc
+lib/python1.5/site-packages/graph3d.pyo
+lib/python1.5/site-packages/help.help
+lib/python1.5/site-packages/help.py
+lib/python1.5/site-packages/help.pyc
+lib/python1.5/site-packages/help.pyo
+lib/python1.5/site-packages/lines.py
+lib/python1.5/site-packages/lines.pyc
+lib/python1.5/site-packages/lines.pyo
+lib/python1.5/site-packages/mesh3d.py
+lib/python1.5/site-packages/mesh3d.pyc
+lib/python1.5/site-packages/mesh3d.pyo
+lib/python1.5/site-packages/movie.py
+lib/python1.5/site-packages/movie.pyc
+lib/python1.5/site-packages/movie.pyo
+lib/python1.5/site-packages/pl3d.py
+lib/python1.5/site-packages/pl3d.pyc
+lib/python1.5/site-packages/pl3d.pyo
+lib/python1.5/site-packages/plane.py
+lib/python1.5/site-packages/plane.pyc
+lib/python1.5/site-packages/plane.pyo
+lib/python1.5/site-packages/plwf.py
+lib/python1.5/site-packages/plwf.pyc
+lib/python1.5/site-packages/plwf.pyo
+lib/python1.5/site-packages/polymap.py
+lib/python1.5/site-packages/polymap.pyc
+lib/python1.5/site-packages/polymap.pyo
+lib/python1.5/site-packages/quadmesh.py
+lib/python1.5/site-packages/quadmesh.pyc
+lib/python1.5/site-packages/quadmesh.pyo
+lib/python1.5/site-packages/region.py
+lib/python1.5/site-packages/region.pyc
+lib/python1.5/site-packages/region.pyo
+lib/python1.5/site-packages/shapetest.py
+lib/python1.5/site-packages/shapetest.pyc
+lib/python1.5/site-packages/shapetest.pyo
+lib/python1.5/site-packages/slice3.py
+lib/python1.5/site-packages/slice3.pyc
+lib/python1.5/site-packages/slice3.pyo
+lib/python1.5/site-packages/surface.py
+lib/python1.5/site-packages/surface.pyc
+lib/python1.5/site-packages/surface.pyo
+lib/python1.5/site-packages/yorick.py
+lib/python1.5/site-packages/yorick.pyc
+lib/python1.5/site-packages/yorick.pyo
+share/examples/PyGist/berts.py
+share/examples/PyGist/berts.pyc
+share/examples/PyGist/bills.py
+share/examples/PyGist/bills.pyc
+share/examples/PyGist/demo5.py
+share/examples/PyGist/demo5.pyc
+share/examples/PyGist/eztest.py
+share/examples/PyGist/eztest.pyc
+share/examples/PyGist/gistdemohigh.py
+share/examples/PyGist/gistdemohigh.pyc
+share/examples/PyGist/gistdemolow.py
+share/examples/PyGist/gistdemolow.pyc
+share/examples/PyGist/gistmeshtest.py
+share/examples/PyGist/gistmeshtest.pyc
+share/examples/PyGist/gisttest2d.py
+share/examples/PyGist/gisttest2d.pyc
+share/examples/PyGist/gisttest3d.py
+share/examples/PyGist/gisttest3d.pyc
+share/examples/PyGist/graftest2d.py
+share/examples/PyGist/graftest2d.pyc
+share/examples/PyGist/meshtest.py
+share/examples/PyGist/meshtest.pyc
+share/examples/PyGist/nicks.py
+share/examples/PyGist/nicks.pyc
+share/examples/PyGist/sphereisos.py
+share/examples/PyGist/sphereisos.pyc
+share/examples/PyGist/surftest3d.py
+share/examples/PyGist/surftest3d.pyc
+share/examples/PyGist/surftest4d.py
+share/examples/PyGist/surftest4d.pyc
+share/examples/PyGist/twograftest2d.py
+share/examples/PyGist/twograftest2d.pyc
+share/examples/PyGist/z_nobox.gs
+share/examples/PyGist/z_work.gs
+@dirrm share/examples/PyGist