aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1998-04-27 13:25:02 +0800
committermph <mph@FreeBSD.org>1998-04-27 13:25:02 +0800
commite5c9451164e06f6343ec8d801a045caf36e640b6 (patch)
treedc063b0a779dfbf8df15d73d8e627c1a40392c38
parent6702679f24e7405ad04fdbaf46c5affd5faf4cee (diff)
downloadfreebsd-ports-gnome-e5c9451164e06f6343ec8d801a045caf36e640b6.tar.gz
freebsd-ports-gnome-e5c9451164e06f6343ec8d801a045caf36e640b6.tar.zst
freebsd-ports-gnome-e5c9451164e06f6343ec8d801a045caf36e640b6.zip
Import of xldlas, a statistics package.
PR: 5331 Submitted by: Pedro Giffuni S. <giffunip@asme.org>
-rw-r--r--math/xldlas/Makefile33
-rw-r--r--math/xldlas/distinfo1
-rw-r--r--math/xldlas/files/patch-aa65
-rw-r--r--math/xldlas/files/patch-ab19
-rw-r--r--math/xldlas/pkg-comment1
-rw-r--r--math/xldlas/pkg-descr19
-rw-r--r--math/xldlas/pkg-plist14
7 files changed, 152 insertions, 0 deletions
diff --git a/math/xldlas/Makefile b/math/xldlas/Makefile
new file mode 100644
index 000000000000..0f5fba0a1583
--- /dev/null
+++ b/math/xldlas/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: xldlas
+# Version required: 0.85
+# Date created: 20 Dec 97
+# Whom: Pedro Giffuni <giffunip@asme.org>
+#
+# $Id$
+#
+
+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= giffunip@asme.org
+
+LIB_DEPENDS= xforms\\.0\\.:${PORTSDIR}/x11/xforms
+
+WRKSRC= ${WRKDIR}/xldlas
+
+USE_X11= yes
+
+MAN1= xldlas.1
+
+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 <bsd.port.mk>
diff --git a/math/xldlas/distinfo b/math/xldlas/distinfo
new file mode 100644
index 000000000000..83e04e0d5848
--- /dev/null
+++ b/math/xldlas/distinfo
@@ -0,0 +1 @@
+MD5 (xldlas-0.85-source.tgz) = 7fada7760d6b882b31cdf14b75f304a4
diff --git a/math/xldlas/files/patch-aa b/math/xldlas/files/patch-aa
new file mode 100644
index 000000000000..e3b14f5fd3a4
--- /dev/null
+++ b/math/xldlas/files/patch-aa
@@ -0,0 +1,65 @@
+*** 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$(X11BASE)/include
+! #CC = gcc
+! COMMONLIBS = -L$(X11BASE)/lib/ -lX11 -lm
+! SHAREDLIBS = -lxforms
+! STATICLIBS = -lXpm $(X11BASE)/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 '/usr/local/share/xldlas' = $(SRCDIR); then \
+ $(ECHO) Help Files Already in Place; else \
+ $(INSTALL) $(INSTALLOPTS) ./help $(HELPDIR); fi
+ install.man:
diff --git a/math/xldlas/files/patch-ab b/math/xldlas/files/patch-ab
new file mode 100644
index 000000000000..a710ec8938be
--- /dev/null
+++ b/math/xldlas/files/patch-ab
@@ -0,0 +1,19 @@
+*** 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 000000000000..16d2c5cf2d6b
--- /dev/null
+++ b/math/xldlas/pkg-comment
@@ -0,0 +1 @@
+X ldlas, damned lies, and statistics.
diff --git a/math/xldlas/pkg-descr b/math/xldlas/pkg-descr
new file mode 100644
index 000000000000..c14140c01788
--- /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 000000000000..7729717e16ed
--- /dev/null
+++ b/math/xldlas/pkg-plist
@@ -0,0 +1,14 @@
+bin/xldlas
+man/man1/xldlas.1.gz
+share/xldlas/help/analysis.help
+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/.directory