summaryrefslogtreecommitdiff
path: root/math/xldlas
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-10-03 20:37:01 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-10-03 20:37:01 +0000
commit3b134730328c1c11763a438eee04335ff4fd7d18 (patch)
tree6a2df99a7b7a7e8ac7ec9c890517e8033481dbb9 /math/xldlas
parent21a029badbc8357eeaf800a7ce037a8a6f5fa32d (diff)
downloadpkgsrc-3b134730328c1c11763a438eee04335ff4fd7d18.tar.gz
Initial addition of xldlas-0.85, an XForms-based statistics package.
Closes pr 6236 by Rene Hexel.
Diffstat (limited to 'math/xldlas')
-rw-r--r--math/xldlas/Makefile28
-rw-r--r--math/xldlas/files/md53
-rw-r--r--math/xldlas/patches/patch-aa67
-rw-r--r--math/xldlas/patches/patch-ab21
-rw-r--r--math/xldlas/pkg/COMMENT1
-rw-r--r--math/xldlas/pkg/DESCR19
-rw-r--r--math/xldlas/pkg/PLIST17
7 files changed, 156 insertions, 0 deletions
diff --git a/math/xldlas/Makefile b/math/xldlas/Makefile
new file mode 100644
index 00000000000..ad9d406e8f0
--- /dev/null
+++ b/math/xldlas/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/10/03 20:37:01 frueauf Exp $
+# FreeBSD Id: Makefile,v 1.5 1998/09/26 23:18:07 steve Exp
+#
+
+DISTNAME= xldlas-0.85
+CATEGORIES= math
+MASTER_SITES= http://a42.com/~thor/xldlas/ \
+ http://sunsite.math.klte.hu/mirrors/xldlas/ \
+ ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= X11/xapps/math
+EXTRACT_SUFX= -source.tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://a42.com/~thor/xldlas/
+
+DEPENDS+= xforms-0.88:../../x11/xforms
+
+WRKSRC= ${WRKDIR}/xldlas
+
+USE_X11= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xldlas ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xldlas.1 ${PREFIX}/man/man1
+ ${MKDIR} ${PREFIX}/share/xldlas
+ ${CP} -R ${WRKSRC}/help ${PREFIX}/share/xldlas
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/xldlas/files/md5 b/math/xldlas/files/md5
new file mode 100644
index 00000000000..f978c9cf005
--- /dev/null
+++ b/math/xldlas/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/10/03 20:37:02 frueauf Exp $
+
+MD5 (xldlas-0.85-source.tgz) = 7fada7760d6b882b31cdf14b75f304a4
diff --git a/math/xldlas/patches/patch-aa b/math/xldlas/patches/patch-aa
new file mode 100644
index 00000000000..5d3931aeb10
--- /dev/null
+++ b/math/xldlas/patches/patch-aa
@@ -0,0 +1,67 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/10/03 20:37:02 frueauf Exp $
+
+*** Makefile.orig Tue Apr 1 12:13:32 1997
+--- Makefile Mon Apr 27 01:10:50 1998
+***************
+*** 16,26 ****
+ # want to remove the -DXFORMS86 declaration in the CCFLAG
+ # assignment.
+ #
+! CCFLAG = -O2 -Wall -DXFORMS86
+! CC = gcc
+! COMMONLIBS = -L/usr/X11R6/lib/ -lX11 -lm
+! SHAREDLIBS = -lforms
+! STATICLIBS = -lXpm /usr/X11R6/lib/libforms.a
+ ECHO = echo
+ RM = rm
+ RMOPTS = -f
+--- 16,26 ----
+ # want to remove the -DXFORMS86 declaration in the CCFLAG
+ # assignment.
+ #
+! CCFLAG = ${CFLAGS} -DXFORMS86 -DPREFIX=\"${PREFIX}\" -I${PREFIX}/include -I${PREFIX}/include/X11
+! #CC = gcc
+! COMMONLIBS = -L${PREFIX}/lib/ -lX11 -lm
+! SHAREDLIBS = -lxforms
+! STATICLIBS = -lXpm ${PREFIX}/lib/libxforms.a
+ ECHO = echo
+ RM = rm
+ RMOPTS = -f
+***************
+*** 29,37 ****
+ INSTALL = install
+ INSTALLOPTS = -d
+
+! BINDIR = /usr/local/bin
+! MANDIR = /usr/man/man1
+! HELPDIR = /usr/local/xldlas/help
+ SRCDIR := $$PWD
+ USER := $$LOGNAME
+
+--- 29,37 ----
+ INSTALL = install
+ INSTALLOPTS = -d
+
+! BINDIR = ${PREFIX}/bin
+! MANDIR = ${PREFIX}/man/man1
+! HELPDIR = ${PREFIX}/share/xldlas/help
+ SRCDIR := $$PWD
+ USER := $$LOGNAME
+
+***************
+*** 115,121 ****
+ so the following commands will probably fail"; fi
+ @$(ECHO)
+ @$(CP) $(CPOPTS) xldlas $(BINDIR)
+! @if test '/usr/local/xldlas' = $(SRCDIR); then \
+ $(ECHO) Help Files Already in Place; else \
+ $(INSTALL) $(INSTALLOPTS) ./help $(HELPDIR); fi
+ install.man:
+--- 115,121 ----
+ so the following commands will probably fail"; fi
+ @$(ECHO)
+ @$(CP) $(CPOPTS) xldlas $(BINDIR)
+! @if test "${PREFIX}/share/xldlas" = $(SRCDIR); then \
+ $(ECHO) Help Files Already in Place; else \
+ $(INSTALL) $(INSTALLOPTS) ./help $(HELPDIR); fi
+ install.man:
diff --git a/math/xldlas/patches/patch-ab b/math/xldlas/patches/patch-ab
new file mode 100644
index 00000000000..0b19a78dab1
--- /dev/null
+++ b/math/xldlas/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 1998/10/03 20:37:02 frueauf Exp $
+
+*** setstate.c.orig Mon May 12 10:42:06 1997
+--- setstate.c Mon Apr 27 01:10:29 1998
+***************
+*** 509,515 ****
+ }
+
+ if(found_label == FALSE)
+! strcpy(help_location,"/usr/local/xldlas/help/");
+ strcpy(searcher,"test -r ");
+ strcat(searcher, help_location);
+ strcat(searcher,"general.help");
+--- 509,515 ----
+ }
+
+ if(found_label == FALSE)
+! strcpy(help_location, PREFIX "/share/xldlas/help/");
+ strcpy(searcher,"test -r ");
+ strcat(searcher, help_location);
+ strcat(searcher,"general.help");
diff --git a/math/xldlas/pkg/COMMENT b/math/xldlas/pkg/COMMENT
new file mode 100644
index 00000000000..a42bb12ba7d
--- /dev/null
+++ b/math/xldlas/pkg/COMMENT
@@ -0,0 +1 @@
+an XForms-based statistics package.
diff --git a/math/xldlas/pkg/DESCR b/math/xldlas/pkg/DESCR
new file mode 100644
index 00000000000..c14140c0178
--- /dev/null
+++ b/math/xldlas/pkg/DESCR
@@ -0,0 +1,19 @@
+What is it?
+===========
+ It's for doing statistics.
+
+Highlights
+==========
+ * Based on the xforms library (ie. looks pretty slick)
+ * Point and click interface to statistical summaries, OLS
+ regression, plotting, correlation analysis, etc.
+ * Neural network and Genetic Algorithm data fitting
+ with some nice visual feedback.
+ * Very handy automatic generating of .tex format and html
+ log files, including tables and plots.
+ * Online help
+
+Feedback
+========
+ The author (Thor Sigvaldason) is happy to receive feedback
+ at: thor@netcom.ca
diff --git a/math/xldlas/pkg/PLIST b/math/xldlas/pkg/PLIST
new file mode 100644
index 00000000000..e72242d074e
--- /dev/null
+++ b/math/xldlas/pkg/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/03 20:37:02 frueauf Exp $
+bin/xldlas
+man/man1/xldlas.1
+share/xldlas/help/.directory
+share/xldlas/help/data.help
+share/xldlas/help/file.help
+share/xldlas/help/general.help
+share/xldlas/help/graph.help
+share/xldlas/help/license.help
+share/xldlas/help/log.help
+share/xldlas/help/tutorial.help
+share/xldlas/help/tutorial_data.lda
+share/xldlas/help/test.help
+share/xldlas/help/filter.help
+share/xldlas/help/analysis.help
+@dirrm share/xldlas/help
+@dirrm share/xldlas