ports/77646: Unixstat port broken
Jason Bacon
bacon at smithers.neuro.mcw.edu
Thu Feb 17 16:40:22 UTC 2005
>Number: 77646
>Category: ports
>Synopsis: Unixstat port broken
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 17 16:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jason Bacon
>Release: FreeBSD 5.3-RC1 i386
>Organization:
Medical College of Wisconsin
>Environment:
System: FreeBSD smithers.neuro.mcw.edu 5.3-RC1 FreeBSD 5.3-RC1 #0: Fri Oct 22 12:14:47 CDT 2004 bacon at smithers.neuro.mcw.edu:/usr/obj/usr/src/sys/smithers i386
>Description:
The Unixstat port does not compile due to bugs in the Makefile
and incompatibility of the distfile with BSD tar.
>How-To-Repeat:
cd /usr/ports/math/unixstat; make
>Fix:
1. Add
TAR= /usr/bin/gtar
2. Change @{MV} to @${MV} and @{RM} to @${RM} under post-patch
3. Comment out check for /usr/ports/distfiles/stat.tar.Z. It's not obvious
to me why the check fails even after placing the correct distfile in
/usr/ports/distfiles. The .if looks basically correct. Don't have the
time to play with it, so I just commented it out. The Makefile below works
after you download stat.tar.Z and place it in /usr/ports/distfiles.
# New ports collection makefile for: stat
# Date created: 23 August 2001
# Whom: mwm
#
# $FreeBSD: ports/math/unixstat/Makefile,v 1.7 2004/02/09 10:33:10 linimon Exp $
#
TAR= /usr/bin/gtar
PORTNAME= unixstat
PORTVERSION= 5.4
CATEGORIES= math
MASTER_SITES= # must fetch manually
DISTNAME= stat
EXTRACT_SUFX= .tar.Z
MAINTAINER= mwm at mired.org
COMMENT= A statistics package designed for use with the Unix shell
RESTRICTED= "License does not allow redistribution of binaries"
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 rankind.1 \
rankrel.1 ranksort.1 regress.1 repeat.1 reverse.1 series.1 \
stats.1 transpose.1 ts.1 unixstat.1 validata.1
#.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
#IGNORE="Gary Perlman requires that users agree to his license"\
#"before he will allow access to the distfile."\
#"See his web site at http://www.acm.org/~perlman/stat/ for"\
#"details. Then put ${DISTNAME}${EXTRACT_SUFX} in"\
#"${DISTDIR} and run make again"
#.endif
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_CMD} ${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>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list