From 02eb92937d3dd68dec2e7cf3cb3093097d1ec827 Mon Sep 17 00:00:00 2001 From: frueauf Date: Sat, 3 Oct 1998 20:28:08 +0000 Subject: Initial addition of xlispstat-3.52.5, a statistics/X11 based lisp interpreter. Closes pr 6234 by Rene Hexel. --- math/xlispstat/Makefile | 16 +++++++++++++++ math/xlispstat/files/md5 | 3 +++ math/xlispstat/patches/patch-aa | 13 ++++++++++++ math/xlispstat/patches/patch-ab | 39 ++++++++++++++++++++++++++++++++++++ math/xlispstat/patches/patch-ac | 44 +++++++++++++++++++++++++++++++++++++++++ math/xlispstat/patches/patch-ad | 19 ++++++++++++++++++ math/xlispstat/pkg/COMMENT | 1 + math/xlispstat/pkg/DESCR | 20 +++++++++++++++++++ math/xlispstat/pkg/PLIST | 44 +++++++++++++++++++++++++++++++++++++++++ 9 files changed, 199 insertions(+) create mode 100644 math/xlispstat/Makefile create mode 100644 math/xlispstat/files/md5 create mode 100644 math/xlispstat/patches/patch-aa create mode 100644 math/xlispstat/patches/patch-ab create mode 100644 math/xlispstat/patches/patch-ac create mode 100644 math/xlispstat/patches/patch-ad create mode 100644 math/xlispstat/pkg/COMMENT create mode 100644 math/xlispstat/pkg/DESCR create mode 100644 math/xlispstat/pkg/PLIST (limited to 'math/xlispstat') diff --git a/math/xlispstat/Makefile b/math/xlispstat/Makefile new file mode 100644 index 00000000000..0c22e11dece --- /dev/null +++ b/math/xlispstat/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/03 20:28:08 frueauf Exp $ +# FreeBSD Id: Makefile,v 1.7 1998/08/20 07:35:21 asami Exp +# + +DISTNAME= xlispstat-3-52-5 +PKGNAME= xlispstat-3.52.5 +CATEGORIES= math lang +MASTER_SITES= ftp://ftp.stat.umn.edu/pub/xlispstat/3-52/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.stat.umn.edu/~luke/xls/xlsinfo/xlsinfo.html + +GNU_CONFIGURE= yes +USE_X11= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/math/xlispstat/files/md5 b/math/xlispstat/files/md5 new file mode 100644 index 00000000000..e0410927f52 --- /dev/null +++ b/math/xlispstat/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/10/03 20:28:08 frueauf Exp $ + +MD5 (xlispstat-3-52-5.tar.gz) = 6fd817d1f07f9a2d51567c6500d41841 diff --git a/math/xlispstat/patches/patch-aa b/math/xlispstat/patches/patch-aa new file mode 100644 index 00000000000..37e605da2da --- /dev/null +++ b/math/xlispstat/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $ + +--- Makefile.in.orig Mon Mar 23 13:44:59 1998 ++++ Makefile.in Fri Oct 2 18:11:53 1998 +@@ -117,6 +117,8 @@ + compiler/lift.fsl compiler/gencode.fsl compiler/peephole.fsl \ + compiler/assemble.fsl compiler/cmpfront.fsl + ++all: xlispstat ++ + xlispstat: setup.shell xlisp.wks + ./setup.shell xlispstat ${XLSLIB} + chmod a+x xlispstat diff --git a/math/xlispstat/patches/patch-ab b/math/xlispstat/patches/patch-ab new file mode 100644 index 00000000000..1a04e1eb3be --- /dev/null +++ b/math/xlispstat/patches/patch-ab @@ -0,0 +1,39 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $ + +--- xllist.c.orig Tue Nov 25 13:07:14 1997 ++++ xllist.c Fri Oct 2 18:19:47 1998 +@@ -991,7 +991,7 @@ + } + + /* xsort - built-in function 'sort' */ +-LOCAL LVAL mergesort P3C(LVAL, list, LVAL, sortfcn, LVAL, sortkey) ++LOCAL LVAL xlmergesort P3C(LVAL, list, LVAL, sortfcn, LVAL, sortkey) + { + /* Strategy: divide into two parts, (recurse) to sort each, then + merge them together */ +@@ -1018,8 +1018,8 @@ + rplacd(temp, NIL); /* split left and right parts */ + } + +- left = mergesort(left, sortfcn, sortkey); +- right = mergesort(right, sortfcn, sortkey); ++ left = xlmergesort(left, sortfcn, sortkey); ++ right = xlmergesort(right, sortfcn, sortkey); + + { + LVAL result, resultt = NULL, leftarg, rightarg; +@@ -1094,12 +1094,12 @@ + { + LVAL etype = gettvecetype(list); + list = coerce_to_list(list); +- list = mergesort(list, sortfcn, sortkey); ++ list = xlmergesort(list, sortfcn, sortkey); + list = coerce_to_tvec(list, etype); + break; + } + case CONS: +- list = mergesort(list, sortfcn, sortkey); ++ list = xlmergesort(list, sortfcn, sortkey); + break; + default: xlbadtype(list); + } diff --git a/math/xlispstat/patches/patch-ac b/math/xlispstat/patches/patch-ac new file mode 100644 index 00000000000..5e4b84bbabe --- /dev/null +++ b/math/xlispstat/patches/patch-ac @@ -0,0 +1,44 @@ +$NetBSD: patch-ac,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $ + +--- Makefile.in.orig Sat Oct 3 16:06:56 1998 ++++ Makefile.in Sat Oct 3 16:48:58 1998 +@@ -34,7 +34,8 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + +-XLSLIB=${prefix}/lib/xlispstat ++XLSLIB=${prefix}/share/xlispstat ++LIBEXEC=${prefix}/libexec/xlispstat + BINDIR=${exec_prefix}/bin + + GRAPHSYS = @GRAPHSYS@ +@@ -120,7 +121,7 @@ + all: xlispstat + + xlispstat: setup.shell xlisp.wks +- ./setup.shell xlispstat ${XLSLIB} ++ ./setup.shell xlispstat ${XLSLIB} ${LIBEXEC} + chmod a+x xlispstat + + xlisp.wks: xlisp ${CMPFSLFILES} ${FSLFILES} ${AUTOFSLFILES} +@@ -144,10 +145,10 @@ + + installexecs: xlispstat xlisp installdirs + -cp xlispstat ${BINDIR}/xlispstat +- -cp xlisp ${XLSLIB} ++ -cp xlisp ${LIBEXEC} + + installlsp: xlisp.wks xlisp.hlp ${AUTOFSLFILES} ${CMPFSLFILES} installdirs +- -cp xlisp.wks ${XLSLIB} ++ -cp xlisp.wks ${LIBEXEC} + -cp xlisp.hlp ${XLSLIB} + -cp Autoload/_autoidx.lsp Autoload/*.fsl ${XLSLIB}/Autoload + -cp Data/*.lsp ${XLSLIB}/Data +@@ -157,6 +158,7 @@ + installdirs: + -mkdir -p ${BINDIR} + -mkdir -p ${XLSLIB} ++ -mkdir -p ${LIBEXEC} + -mkdir ${XLSLIB}/Data + -mkdir ${XLSLIB}/Examples + -mkdir ${XLSLIB}/Autoload diff --git a/math/xlispstat/patches/patch-ad b/math/xlispstat/patches/patch-ad new file mode 100644 index 00000000000..49446497dd7 --- /dev/null +++ b/math/xlispstat/patches/patch-ad @@ -0,0 +1,19 @@ +$NetBSD: patch-ad,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $ + +--- setup.shell.orig Wed Sep 7 16:34:36 1994 ++++ setup.shell Sat Oct 3 16:50:37 1998 +@@ -2,11 +2,12 @@ + cat > $1 <<+++ + #!/bin/sh + XLISPLIB=$2 export XLISPLIB ++LIBEXEC=$3 export LIBEXEC + if test -f xlisp.wks; then WKS="xlisp.wks"; +-else WKS="\${XLISPLIB}/xlisp.wks"; ++else WKS="\${LIBEXEC}/xlisp.wks"; + fi + if test -f xlisp; then XLISP=xlisp; +-else XLISP="\${XLISPLIB}/xlisp" ++else XLISP="\${LIBEXEC}/xlisp" + fi + exec \${XLISP} -w\${WKS} \$* + +++ diff --git a/math/xlispstat/pkg/COMMENT b/math/xlispstat/pkg/COMMENT new file mode 100644 index 00000000000..b0966b34efe --- /dev/null +++ b/math/xlispstat/pkg/COMMENT @@ -0,0 +1 @@ +a statistics/X11 based lisp interpreter. diff --git a/math/xlispstat/pkg/DESCR b/math/xlispstat/pkg/DESCR new file mode 100644 index 00000000000..b974bc87ccc --- /dev/null +++ b/math/xlispstat/pkg/DESCR @@ -0,0 +1,20 @@ +This is XLISP-STAT 3.52 Release 5 for generic bsd systems (with simple +tektronix graphics from the gnuplot system), or X11. + +XLISP-STAT is a statistical environment based on a dialect of the Lisp +language called XLISP. To facilitate statistical computations, standard Lisp +functions for addition, logarithms, etc., have been modified to operate on +lists and arrays of numbers, and a number of basic statistical functions have +been added. + +Updates to this system will be posted periodically in the anonymous +ftp directory of umnstat.stat.umn.edu (128.101.51.1). + +A tutorial introduction to the system is available. It is written +primarily for the Macintosh version, but the differences to the UNIX +version are minor; see below. The tutorial is available as a set of +LaTeX files in xlispstat.doc.tar.Z at the ftp address above. + +For further information contact + + luke@umnstat.stat.umn.edu diff --git a/math/xlispstat/pkg/PLIST b/math/xlispstat/pkg/PLIST new file mode 100644 index 00000000000..32beef65592 --- /dev/null +++ b/math/xlispstat/pkg/PLIST @@ -0,0 +1,44 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $ +bin/xlispstat +libexec/xlispstat/xlisp +libexec/xlispstat/xlisp.wks +share/xlispstat/Data/absorbtion.lsp +share/xlispstat/Data/stackloss.lsp +share/xlispstat/Data/randu.lsp +share/xlispstat/Data/puromycin.lsp +share/xlispstat/Data/oxygen.lsp +share/xlispstat/Data/metabolism.lsp +share/xlispstat/Data/leukemia.lsp +share/xlispstat/Data/iris.lsp +share/xlispstat/Data/heating.lsp +share/xlispstat/Data/diabetes.lsp +share/xlispstat/Data/car-prices.lsp +share/xlispstat/Data/book.lsp +share/xlispstat/Data/aircraft.lsp +share/xlispstat/Data/tutorial.lsp +share/xlispstat/Examples/abrasiondemo.lsp +share/xlispstat/Examples/tour.lsp +share/xlispstat/Examples/rotatedemo.lsp +share/xlispstat/Examples/regdemo.lsp +share/xlispstat/Examples/plotcontrols.lsp +share/xlispstat/Examples/inspect.lsp +share/xlispstat/Examples/fstat.lsp +share/xlispstat/Examples/dataprotos.lsp +share/xlispstat/Examples/bcdemo.lsp +share/xlispstat/Examples/addhandrotate.lsp +share/xlispstat/Examples/addbox.lsp +share/xlispstat/Examples/tourdemo.lsp +share/xlispstat/Autoload/_autoidx.lsp +share/xlispstat/Autoload/stepper.fsl +share/xlispstat/Autoload/oneway.fsl +share/xlispstat/Autoload/nonlin.fsl +share/xlispstat/Autoload/maximize.fsl +share/xlispstat/Autoload/glim.fsl +share/xlispstat/Autoload/bayes.fsl +share/xlispstat/Autoload/symaclet.fsl +share/xlispstat/xlisp.hlp +@dirrm libexec/xlispstat +@dirrm share/xlispstat/Autoload +@dirrm share/xlispstat/Data +@dirrm share/xlispstat/Examples +@dirrm share/xlispstat -- cgit v1.2.3