Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 1997 14:39:20 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5330: New port: nbench-2.1
Message-ID:  <199712171139.OAA22844@icc.surw.chel.su>
Resent-Message-ID: <199712171140.DAA02574@hub.freebsd.org>

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

>Number:         5330
>Category:       ports
>Synopsis:       New port: nbench-2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 17 03:40:01 PST 1997
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
New port: nbench-2.1
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

  This is a port of the BYTE Magazine's native benchmarks

  BYTE Magazine's native  benchmarks (also called BYTEmark)
designed to expose the capabilities of a system's CPU, FPU,
and memory system.


# 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:
#
#	nbench-2.1
#	nbench-2.1/Makefile
#	nbench-2.1/files
#	nbench-2.1/files/md5
#	nbench-2.1/patches
#	nbench-2.1/patches/patch-ab
#	nbench-2.1/patches/patch-aa
#	nbench-2.1/pkg
#	nbench-2.1/pkg/PLIST
#	nbench-2.1/pkg/COMMENT
#	nbench-2.1/pkg/DESCR
#
echo c - nbench-2.1
mkdir -p nbench-2.1 > /dev/null 2>&1
echo x - nbench-2.1/Makefile
sed 's/^X//' >nbench-2.1/Makefile << 'END-of-nbench-2.1/Makefile'
X# New ports collection makefile for:	nbench
X# Version required:			2.1
X# Date created:				17 December 1997
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		nbench-byte-2.1
XPKGNAME=		nbench-2.1
XCATEGORIES=		benchmarks
XMASTER_SITES=		ftp://ftp.tux.org/pub/tux/mayer/ \
X			${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	system/benchmark
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XALL_TARGET=
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${PREFIX}/bin
X	@ ${MKDIR} ${PREFIX}/share/nbench
X	@ ${INSTALL_DATA} ${WRKSRC}/NNET.DAT ${PREFIX}/share/nbench
X	@ ${MKDIR} ${PREFIX}/share/doc/nbench
X.for file in README README.submit RESULTS bdoc.txt
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/nbench
X.endfor
X
X.include <bsd.port.mk>
END-of-nbench-2.1/Makefile
echo c - nbench-2.1/files
mkdir -p nbench-2.1/files > /dev/null 2>&1
echo x - nbench-2.1/files/md5
sed 's/^X//' >nbench-2.1/files/md5 << 'END-of-nbench-2.1/files/md5'
XMD5 (nbench-byte-2.1.tar.gz) = 18741c3f7d01bf216a57c0132896b196
END-of-nbench-2.1/files/md5
echo c - nbench-2.1/patches
mkdir -p nbench-2.1/patches > /dev/null 2>&1
echo x - nbench-2.1/patches/patch-ab
sed 's/^X//' >nbench-2.1/patches/patch-ab << 'END-of-nbench-2.1/patches/patch-ab'
X--- sysinfo.sh	Thu Dec 11 20:54:46 1997
X+++ /home/andy/tmp/wrk/sysinfo.sh	Wed Dec 17 08:30:28 1997
X@@ -50,8 +50,8 @@
X 
X # this bombs out on Ultrix which expect "cut -d"
X 
X-compsystem=`uname -a | cut -b 1-78`
X-compdate=`date|cut -b1-55`
X+compsystem=`uname -a | cut -f 1-78`
X+compdate=`date | cut -f 1-55`
X 
X # let's hope that ctrl-c is not part of any string here
X # this also will barf later if " is in any of the strings
X@@ -60,4 +60,4 @@
X  sed -e "s%CCVERSION%$gccversion" -e "s%LIBCVERSION%$libcversion"\
X      -e "s%SYSTEM%$compsystem" -e "s%DATE%$compdate"\
X    ${i}.template > $i
END-of-nbench-2.1/patches/patch-ab
echo x - nbench-2.1/patches/patch-aa
sed 's/^X//' >nbench-2.1/patches/patch-aa << 'END-of-nbench-2.1/patches/patch-aa'
X--- nbench1.h	Thu Dec 11 20:54:46 1997
X+++ /home/andy/tmp/wrk/nbench1.h	Wed Dec 17 08:28:11 1997
X@@ -352,7 +352,7 @@
X ** The Neural Net test requires an input data file.
X ** The name is specified here.
X */
X-char *inpath="NNET.DAT";
X+char *inpath="/usr/local/share/nbench/NNET.DAT";
X 
X /*
X ** PROTOTYPES
END-of-nbench-2.1/patches/patch-aa
echo c - nbench-2.1/pkg
mkdir -p nbench-2.1/pkg > /dev/null 2>&1
echo x - nbench-2.1/pkg/PLIST
sed 's/^X//' >nbench-2.1/pkg/PLIST << 'END-of-nbench-2.1/pkg/PLIST'
Xbin/nbench
Xshare/nbench/NNET.DAT
Xshare/doc/nbench/README
Xshare/doc/nbench/README.submit
Xshare/doc/nbench/RESULTS
Xshare/doc/nbench/bdoc.txt
X@dirrm share/nbench
X@dirrm share/doc/nbench
END-of-nbench-2.1/pkg/PLIST
echo x - nbench-2.1/pkg/COMMENT
sed 's/^X//' >nbench-2.1/pkg/COMMENT << 'END-of-nbench-2.1/pkg/COMMENT'
XBYTE Magazine's native benchmarks
END-of-nbench-2.1/pkg/COMMENT
echo x - nbench-2.1/pkg/DESCR
sed 's/^X//' >nbench-2.1/pkg/DESCR << 'END-of-nbench-2.1/pkg/DESCR'
X  BYTE Magazine's native  benchmarks (also called BYTEmark)
Xdesigned to expose the capabilities of a system's CPU, FPU,
Xand memory system.
END-of-nbench-2.1/pkg/DESCR
exit


>How-To-Repeat:

>Fix:
	
   Please, check and commit this port.

>Audit-Trail:
>Unformatted:



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