Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 11:09:44 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105778: [NEW PORT] benchmarks/fhourstones: The Fhourstones Benchmark
Message-ID:  <20061123100944.28DDA39DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200611231010.kANAAEIn076645@freefall.freebsd.org>

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

>Number:         105778
>Category:       ports
>Synopsis:       [NEW PORT] benchmarks/fhourstones: The Fhourstones Benchmark
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 23 10:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
This integer benchmark solves positions in the game of connect-4,
as played on a vertical 7x6 board.  This takes about 10 minutes
on contemporary PCs.

WWW:	http://homepages.cwi.nl/~tromp/c4/fhour.html

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- fhourstones-3.1.shar begins here ---
# 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:
#
#	fhourstones
#	fhourstones/pkg-descr
#	fhourstones/Makefile
#	fhourstones/distinfo
#	fhourstones/files
#	fhourstones/files/patch-Makefile
#	fhourstones/files/patch-fhourstones
#
echo c - fhourstones
mkdir -p fhourstones > /dev/null 2>&1
echo x - fhourstones/pkg-descr
sed 's/^X//' >fhourstones/pkg-descr << 'END-of-fhourstones/pkg-descr'
XThis integer benchmark solves positions in the game of connect-4,
Xas played on a vertical 7x6 board.  This takes about 10 minutes
Xon contemporary PCs.
X
XWWW:	http://homepages.cwi.nl/~tromp/c4/fhour.html
END-of-fhourstones/pkg-descr
echo x - fhourstones/Makefile
sed 's/^X//' >fhourstones/Makefile << 'END-of-fhourstones/Makefile'
X# New ports collection makefile for:	fhourstones
X# Date created:		2006-11-23
X# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fhourstones
XPORTVERSION=	3.1
XCATEGORIES=	benchmarks
XMASTER_SITES=	http://homepages.cwi.nl/~tromp/c4/
XDISTNAME=	Fhourstones
X
XMAINTAINER=	trasz@pin.if.uz.zgora.pl
XCOMMENT=	The Fhourstones Benchmark
X
XNO_WRKSUBDIR=	yes
XPLIST_FILES=	bin/fhourstones lib/fhourstones/SearchGame lib/fhourstones/inputs
XPLIST_DIRS=	lib/fhourstones
X
Xpost-patch:
X		@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
X		@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/fhourstones
X
Xdo-install:
X		${MKDIR} ${PREFIX}/lib/fhourstones
X		${INSTALL_SCRIPT} ${WRKDIR}/fhourstones ${PREFIX}/bin
X		${INSTALL_PROGRAM} ${WRKDIR}/SearchGame ${PREFIX}/lib/fhourstones/
X		${INSTALL_DATA} ${WRKDIR}/inputs ${PREFIX}/lib/fhourstones
X
X.include <bsd.port.mk>
END-of-fhourstones/Makefile
echo x - fhourstones/distinfo
sed 's/^X//' >fhourstones/distinfo << 'END-of-fhourstones/distinfo'
XMD5 (Fhourstones.tar.gz) = 4137746ea1520aa6041ed1cd9b1a0d26
XSHA256 (Fhourstones.tar.gz) = a7b3562562b5522900480aaa29d70e1b70239ef028a0d5222a41c7222e3f5a6c
XSIZE (Fhourstones.tar.gz) = 10387
END-of-fhourstones/distinfo
echo c - fhourstones/files
mkdir -p fhourstones/files > /dev/null 2>&1
echo x - fhourstones/files/patch-Makefile
sed 's/^X//' >fhourstones/files/patch-Makefile << 'END-of-fhourstones/files/patch-Makefile'
X--- /dev/null	Thu Nov 23 08:54:18 2006
X+++ Makefile	Thu Nov 23 08:54:28 2006
X@@ -0,0 +1,5 @@
X+all: SearchGame
X+
X+SearchGame: Game.c SearchGame.c TransGame.c
X+	$(CC) -o $@ $(CFLAGS) SearchGame.c
X+
END-of-fhourstones/files/patch-Makefile
echo x - fhourstones/files/patch-fhourstones
sed 's/^X//' >fhourstones/files/patch-fhourstones << 'END-of-fhourstones/files/patch-fhourstones'
X--- /dev/null	Thu Nov 23 08:52:26 2006
X+++ fhourstones	Thu Nov 23 08:45:21 2006
X@@ -0,0 +1,4 @@
X+#!/bin/sh
X+
X+exec %%PREFIX%%/lib/fhourstones/SearchGame < %%PREFIX%%/lib/fhourstones/inputs
X+
END-of-fhourstones/files/patch-fhourstones
exit
--- fhourstones-3.1.shar ends here ---

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



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