summaryrefslogtreecommitdiff
path: root/math/unixstat
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-11-25 08:59:47 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-11-25 08:59:47 +0000
commitd9634a5ac825ca03486cb031283035f857728620 (patch)
tree34b3a23b8f0de20ee648d09a6d7ea21b4b633463 /math/unixstat
parentAdd keylaunch-1.3.0, an X utility for binding commands to a hot key (diff)
Add unixstat-5.4, a statistics package designed for use with the Unix shell
PR: 30007 Submitted by: Mike Meyer <mwm@mired.org>
Notes
Notes: svn path=/head/; revision=50517
Diffstat (limited to 'math/unixstat')
-rw-r--r--math/unixstat/Makefile57
-rw-r--r--math/unixstat/distinfo1
-rw-r--r--math/unixstat/files/patch-Makefile20
-rw-r--r--math/unixstat/pkg-comment1
-rw-r--r--math/unixstat/pkg-descr16
-rw-r--r--math/unixstat/pkg-plist59
6 files changed, 154 insertions, 0 deletions
diff --git a/math/unixstat/Makefile b/math/unixstat/Makefile
new file mode 100644
index 000000000000..e83edbbe2d0a
--- /dev/null
+++ b/math/unixstat/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: stat
+# Date created: 23 August 2001
+# Whom: mwm
+#
+# $FreeBSD$
+#
+
+PORTNAME= unixstat
+PORTVERSION= 5.4
+CATEGORIES= math
+MASTER_SITES= # must fetch manually
+DISTNAME= stat
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= mwm@phone.net
+
+NO_PACKAGE= "License does not allow redistribution of binaries"
+RESTRICTED= "Gary Pearlman requires that users agree to his license to \
+ get the dist file"
+
+MAN1= abut.1 anova.1 calc.1 colex.1 contab.1 desc.1 dm.1 dprime.1 \
+ dsort.1 features.1 ff.1 fls.1 fpack.1 linex.1 maketrix.1 \
+ manstat.1 oneway.1 pair.1 perm.1 probdist.1 rakind.1 rankrel.1 \
+ ranksort.1 regress.1 repeat.1 reverse.1 series.1 stats.1 \
+ transpose.1 ts.1 unixstat.1 validata.1
+
+do-fetch:
+ @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
+ ${ECHO} ""; \
+ ${ECHO} "Gary Perlman requires that users agree to his license"; \
+ ${ECHO} "before he will allow access to the dist file."; \
+ ${ECHO} "See his web site at http://www.acm.org/~perlman/stat/ for"; \
+ ${ECHO} "details. Then put ${DISTNAME}${EXTRACT_SUFX} in"; \
+ ${ECHO} "${DISTDIR} and run make again."; \
+ ${ECHO} ""; \
+ exit 1;\
+ fi
+
+post-patch:
+ @mv ${WRKSRC}/man/intro.1 ${WRKSRC}/man/unixstat.1
+ @rm ${WRKSRC}/man/cat.1
+
+do-build:
+ @(cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} make ${MAKE_ARGS})
+
+do-install:
+ @strip ${WRKSRC}/bin/*
+ @${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/man/*.1 ${PREFIX}/man/man1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/handbook/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/unixstat/distinfo b/math/unixstat/distinfo
new file mode 100644
index 000000000000..56de475a55e7
--- /dev/null
+++ b/math/unixstat/distinfo
@@ -0,0 +1 @@
+MD5 (stat.tar.Z) = b0ebafb7141e3e768d2dd3bd9197a392
diff --git a/math/unixstat/files/patch-Makefile b/math/unixstat/files/patch-Makefile
new file mode 100644
index 000000000000..9bba6ccb7f40
--- /dev/null
+++ b/math/unixstat/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- src/makefile.orig Tue Jun 22 18:00:21 1993
++++ src/makefile Thu Aug 23 15:57:48 2001
+@@ -14,14 +14,13 @@
+ ##########################################################################
+
+ DESTDIR=../bin# destination directory
+-DESTDIR=../../bin# destination directory
+-CFLAGS =-O# C Compiler Options
++#DESTDIR=../../bin# destination directory
+ LINK =$(CC) $(CFLAGS) -o $(DESTDIR)/$@# Generic link command
+ LIBS =-lm# libraries needed (math)
+-EDITOR =/usr/ucb/vi# editor to call on make edit
++EDITOR =/usr/bin/vi# editor to call on make edit
+ RM =/bin/rm -f# remove forcefully
+ MV =/bin/mv# move/rename files
+-MAKE =/bin/make# use for recursive makes
++MAKE =/usr/bin/make# use for recursive makes
+
+ MAINS = abut.c anova.c calc.y colex.c contab.c desc.c dm.y dprime.c \
+ dsort.c features.c ff.c fpack.c linex.c maketrix.c oneway.c \
diff --git a/math/unixstat/pkg-comment b/math/unixstat/pkg-comment
new file mode 100644
index 000000000000..6651821c52a1
--- /dev/null
+++ b/math/unixstat/pkg-comment
@@ -0,0 +1 @@
+A statistics package designed for use with the Unix shell
diff --git a/math/unixstat/pkg-descr b/math/unixstat/pkg-descr
new file mode 100644
index 000000000000..8ba48e2ff4f5
--- /dev/null
+++ b/math/unixstat/pkg-descr
@@ -0,0 +1,16 @@
+|STAT is a set of about 30 data manipulation and analysis programs
+developed by Gary Perlman at the University of California, San Diego
+and at the Wang Institute. The manipulation programs are general
+utilities that work with other standard programs like sort. The
+analysis programs compute most widely used statistics. |STAT programs
+are designed with the philosophy that individual programs should be
+designed as tools that do one task well and produce output suitable
+for input via pipes to |STAT and other programs. Interactive use is
+supported in the command line interpreter/editor while batch files or
+shell scripts provide a programming language for complex
+analyses. Typical usage involves a pipeline of transformations of data
+followed by input to an analysis program, summarized schematically by:
+
+ INPUT DATA | TRANSFORM | ANALYSIS | OUTPUT RESULTS
+
+WWW: http://www.acm.org/~perlman/stat/
diff --git a/math/unixstat/pkg-plist b/math/unixstat/pkg-plist
new file mode 100644
index 000000000000..667811b03850
--- /dev/null
+++ b/math/unixstat/pkg-plist
@@ -0,0 +1,59 @@
+bin/abut
+bin/anova
+bin/colex
+bin/contab
+bin/desc
+bin/dm
+bin/dprime
+bin/dsort
+bin/features
+bin/ff
+bin/fpack
+bin/linex
+bin/maketrix
+bin/oneway
+bin/pair
+bin/perm
+bin/probdist
+bin/rankind
+bin/rankrel
+bin/ranksort
+bin/regress
+bin/repeat
+bin/reverse
+bin/series
+bin/stats
+bin/transpose
+bin/ts
+bin/validata
+%%PORTDOCS%%share/doc/unixstat
+%%PORTDOCS%%share/doc/unixstat/!Cover.nr
+%%PORTDOCS%%share/doc/unixstat/!Cover.ps
+%%PORTDOCS%%share/doc/unixstat/!Cover.txt
+%%PORTDOCS%%share/doc/unixstat/0-Preface.nr
+%%PORTDOCS%%share/doc/unixstat/0-Preface.ps
+%%PORTDOCS%%share/doc/unixstat/1-Introduction.nr
+%%PORTDOCS%%share/doc/unixstat/1-Introduction.ps
+%%PORTDOCS%%share/doc/unixstat/2-Example.nr
+%%PORTDOCS%%share/doc/unixstat/2-Example.ps
+%%PORTDOCS%%share/doc/unixstat/3-Conventions.nr
+%%PORTDOCS%%share/doc/unixstat/3-Conventions.ps
+%%PORTDOCS%%share/doc/unixstat/4-Manipulation.nr
+%%PORTDOCS%%share/doc/unixstat/4-Manipulation.ps
+%%PORTDOCS%%share/doc/unixstat/5-Analysis.nr
+%%PORTDOCS%%share/doc/unixstat/5-Analysis.ps
+%%PORTDOCS%%share/doc/unixstat/6-Manuals.nr
+%%PORTDOCS%%share/doc/unixstat/6-Manuals.ps
+%%PORTDOCS%%share/doc/unixstat/CHANGES
+%%PORTDOCS%%share/doc/unixstat/Calc.nr
+%%PORTDOCS%%share/doc/unixstat/DM.nr
+%%PORTDOCS%%share/doc/unixstat/contents.nr
+%%PORTDOCS%%share/doc/unixstat/exam.dat
+%%PORTDOCS%%share/doc/unixstat/example.bat
+%%PORTDOCS%%share/doc/unixstat/example.txt
+%%PORTDOCS%%share/doc/unixstat/handbook.txt
+%%PORTDOCS%%share/doc/unixstat/macros
+%%PORTDOCS%%share/doc/unixstat/macros.txt
+%%PORTDOCS%%share/doc/unixstat/makefile
+%%PORTDOCS%%share/doc/unixstat/update.txt
+%%PORTDOCS%%@dirrm share/doc/unixstat