Skip site navigation (1)Skip section navigation (2)
Date:      23 Aug 2001 21:27:48 -0000
From:      Mike Meyer <mwm@mired.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30007: [NEW PORT] of Gary Pearlman's unix|stat software
Message-ID:  <20010823212748.97160.qmail@guru.mired.org>

next in thread | raw e-mail | index | archive | help

>Number:         30007
>Category:       ports
>Synopsis:       [NEW PORT] of Gary Pearlman's unix|stat software
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 14:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mike Meyer
>Release:        FreeBSD 4.4-RC i386
>Organization:
Meyer Consulting
>Environment:
System: FreeBSD guru.mired.org 4.4-RC FreeBSD 4.4-RC #4: Sun Aug 19 11:29:30 CDT 2001 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/GURU i386


>Description:

Gary Pearlman's unix|stat package is one of the most Unix-friendly
stat's packages around, and we don't have it.

>How-To-Repeat:

Try to run some of his nice programs like descr, dm, or stats.

>Fix:

The attached shar file is a port of this package.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	unixstat
#	unixstat/Makefile
#	unixstat/files
#	unixstat/files/patch-aa
#	unixstat/pkg-comment
#	unixstat/pkg-descr
#	unixstat/pkg-plist
#	unixstat/distinfo
#
echo c - unixstat
mkdir -p unixstat > /dev/null 2>&1
echo x - unixstat/Makefile
sed 's/^X//' >unixstat/Makefile << 'END-of-unixstat/Makefile'
X# New ports collection makefile for:   stat
X# Date created:        23 August 2001
X# Whom:                mwm
X#
X# $FreeBSD$
X#
X
XPORTNAME=	unixstat
XPORTVERSION=	5.4
XCATEGORIES=	math
XDISTNAME=	stat
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	mwm@phone.net
X
XNO_PACKAGE=	"License does not allow redistribution of binaries"
XRESTRICTED=	"Gary Pearlman requires that users agree to his license to get the dist file"
X
XMAN1=		abut.1 desc.1 unixstat.1 probdist.1 stats.1 anova.1 dm.1 \
X		linex.1 rankind.1 calc.1 dprime.1 maketrix.1 rankrel.1 \
X		transpose.1 dsort.1 manstat.1 ranksort.1 ts.1 features.1 \
X		oneway.1 regress.1 validata.1 ff.1 repeat.1 colex.1 fls.1 \
X		pair.1 reverse.1 contab.1 fpack.1 perm.1 series.1
X
Xdo-fetch:
X	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
X	  ${ECHO} ""; \
X	  ${ECHO} "Gary Perlman requires that users agree to his license"; \
X	  ${ECHO} "before he will allow access to the dist file."; \
X	  ${ECHO} "See his web site at http://www.acm.org/~perlman/ for"; \
X	  ${ECHO} "details.  Then put ${DISTNAME}${EXTRACT_SUFX} in"; \
X	  ${ECHO} "${DISTDIR} and run make again."; \
X	  ${ECHO} ""; \
X	  exit 1;\
X	fi
X
Xpost-patch:
X	@mv ${WRKSRC}/man/intro.1 ${WRKSRC}/man/unixstat.1
X	@rm ${WRKSRC}/man/cat.1
X
Xdo-build:
X	@(cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} make)
X
Xdo-install:
X	@strip ${WRKSRC}/bin/*
X	@$(INSTALL_PROGRAM) ${WRKSRC}/bin/* ${PREFIX}/bin
X	@$(INSTALL_MAN) ${WRKSRC}/man/* ${PREFIX}/man/man1
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/stat
X	@${INSTALL_MAN} ${WRKSRC}/handbook/* ${PREFIX}/share/doc/stat
X.endif
X
X.include <bsd.port.mk>
END-of-unixstat/Makefile
echo c - unixstat/files
mkdir -p unixstat/files > /dev/null 2>&1
echo x - unixstat/files/patch-aa
sed 's/^X//' >unixstat/files/patch-aa << 'END-of-unixstat/files/patch-aa'
X--- src/makefile.orig	Tue Jun 22 18:00:21 1993
X+++ src/makefile	Thu Aug 23 15:57:48 2001
X@@ -14,14 +14,13 @@
X ##########################################################################
X 
X DESTDIR=../bin#                               destination directory
X-DESTDIR=../../bin#                            destination directory
X-CFLAGS =-O#                                   C Compiler Options
X+#DESTDIR=../../bin#                            destination directory
X LINK   =$(CC) $(CFLAGS) -o $(DESTDIR)/$@#     Generic link command
X LIBS   =-lm#                                  libraries needed (math)
X-EDITOR =/usr/ucb/vi#                          editor to call on make edit
X+EDITOR =/usr/bin/vi#                          editor to call on make edit
X RM     =/bin/rm -f#                           remove forcefully
X MV     =/bin/mv#                              move/rename files
X-MAKE   =/bin/make#                            use for recursive makes
X+MAKE   =/usr/bin/make#                            use for recursive makes
X 
X MAINS = abut.c anova.c calc.y colex.c contab.c desc.c dm.y dprime.c \
X 	dsort.c features.c ff.c fpack.c linex.c maketrix.c oneway.c \
END-of-unixstat/files/patch-aa
echo x - unixstat/pkg-comment
sed 's/^X//' >unixstat/pkg-comment << 'END-of-unixstat/pkg-comment'
XA statistics package designed for use with the Unix shell
END-of-unixstat/pkg-comment
echo x - unixstat/pkg-descr
sed 's/^X//' >unixstat/pkg-descr << 'END-of-unixstat/pkg-descr'
X|STAT is a set of about 30 data manipulation and analysis programs
Xdeveloped by Gary Perlman at the University of California, San Diego
Xand at the Wang Institute. The manipulation programs are general
Xutilities that work with other standard programs like sort. The
Xanalysis programs compute most widely used statistics. |STAT programs
Xare designed with the philosophy that individual programs should be
Xdesigned as tools that do one task well and produce output suitable
Xfor input via pipes to |STAT and other programs.  Interactive use is
Xsupported in the command line interpreter/editor while batch files or
Xshell scripts provide a programming language for complex
Xanalyses. Typical usage involves a pipeline of transformations of data
Xfollowed by input to an analysis program, summarized schematically by:
X
X	INPUT DATA | TRANSFORM | ANALYSIS | OUTPUT RESULTS 
END-of-unixstat/pkg-descr
echo x - unixstat/pkg-plist
sed 's/^X//' >unixstat/pkg-plist << 'END-of-unixstat/pkg-plist'
Xbin/abut
Xbin/anova
Xbin/calc
Xbin/colex
Xbin/contab
Xbin/desc
Xbin/dm
Xbin/dprime
Xbin/dsort
Xbin/features
Xbin/ff
Xbin/fpack
Xbin/linex
Xbin/maketrix
Xbin/oneway
Xbin/pair
Xbin/perm
Xbin/probdist
Xbin/rankind
Xbin/rankrel
Xbin/ranksort
Xbin/regress
Xbin/repeat
Xbin/reverse
Xbin/series
Xbin/stats
Xbin/transpose
Xbin/ts
Xbin/validata
X%%PORTDOCS%%share/doc/stat/!Cover.nr
X%%PORTDOCS%%share/doc/stat/3-Conventions.ps
X%%PORTDOCS%%share/doc/stat/contents.nr
X%%PORTDOCS%%share/doc/stat/!Cover.ps
X%%PORTDOCS%%share/doc/stat/4-Manipulation.nr
X%%PORTDOCS%%share/doc/stat/exam.dat
X%%PORTDOCS%%share/doc/stat/!Cover.txt
X%%PORTDOCS%%share/doc/stat/4-Manipulation.ps
X%%PORTDOCS%%share/doc/stat/example.bat
X%%PORTDOCS%%share/doc/stat/0-Preface.nr
X%%PORTDOCS%%share/doc/stat/5-Analysis.nr
X%%PORTDOCS%%share/doc/stat/example.txt
X%%PORTDOCS%%share/doc/stat/0-Preface.ps
X%%PORTDOCS%%share/doc/stat/5-Analysis.ps
X%%PORTDOCS%%share/doc/stat/handbook.txt
X%%PORTDOCS%%share/doc/stat/1-Introduction.nr
X%%PORTDOCS%%share/doc/stat/6-Manuals.nr
X%%PORTDOCS%%share/doc/stat/macros
X%%PORTDOCS%%share/doc/stat/1-Introduction.ps
X%%PORTDOCS%%share/doc/stat/6-Manuals.ps
X%%PORTDOCS%%share/doc/stat/macros.txt
X%%PORTDOCS%%share/doc/stat/2-Example.nr
X%%PORTDOCS%%share/doc/stat/CHANGES
X%%PORTDOCS%%share/doc/stat/2-Example.ps
X%%PORTDOCS%%share/doc/stat/Calc.nr
X%%PORTDOCS%%share/doc/stat/update.txt
X%%PORTDOCS%%share/doc/stat/3-Conventions.nr
X%%PORTDOCS%%share/doc/stat/DM.nr
X%%PORTDOCS%%share/doc/stat/makefile
X%%PORTDOCS%%@dirrm share/doc/stat
END-of-unixstat/pkg-plist
echo x - unixstat/distinfo
sed 's/^X//' >unixstat/distinfo << 'END-of-unixstat/distinfo'
XMD5 (stat.tar.Z) = b0ebafb7141e3e768d2dd3bd9197a392
END-of-unixstat/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010823212748.97160.qmail>