diff options
author | petef <petef@FreeBSD.org> | 2001-11-25 16:59:47 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-11-25 16:59:47 +0800 |
commit | 8fe62c541a6c39084c94d1a63b6b192a26946738 (patch) | |
tree | 8a12fa43fc5cc920ff6c60076b19f6049ef94bc8 /math/unixstat | |
parent | fbcd6c402919e67e8b30a951cf411f5b434b8a09 (diff) | |
download | freebsd-ports-gnome-8fe62c541a6c39084c94d1a63b6b192a26946738.tar.gz freebsd-ports-gnome-8fe62c541a6c39084c94d1a63b6b192a26946738.tar.zst freebsd-ports-gnome-8fe62c541a6c39084c94d1a63b6b192a26946738.zip |
Add unixstat-5.4, a statistics package designed for use with the Unix shell
PR: 30007
Submitted by: Mike Meyer <mwm@mired.org>
Diffstat (limited to 'math/unixstat')
-rw-r--r-- | math/unixstat/Makefile | 57 | ||||
-rw-r--r-- | math/unixstat/distinfo | 1 | ||||
-rw-r--r-- | math/unixstat/files/patch-Makefile | 20 | ||||
-rw-r--r-- | math/unixstat/pkg-comment | 1 | ||||
-rw-r--r-- | math/unixstat/pkg-descr | 16 | ||||
-rw-r--r-- | math/unixstat/pkg-plist | 59 |
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 |