blob: e14fd31f8c9f3f374a41e329f31e8685b52f686a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.22 2006/10/04 20:46:42 wiz Exp $
DISTNAME= hint_unix_serial
PKGNAME= hint.serial-98.06.12
CATEGORIES= benchmarks
MASTER_SITES= http://hint.byu.edu/pub/HINT/source/tar/
EXTRACT_SUFX= .tar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hint.byu.edu/
COMMENT= Scalable benchmark for testing CPU and memory performance
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= DOUBLE INT
WRKSRC= ${WRKDIR}/unix
INSTALLATION_DIRS= bin man/man1
post-extract:
${CP} ${FILESDIR}/hint.1 ${WRKSRC}/hint.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/DOUBLE ${PREFIX}/bin/hint-double
${INSTALL_PROGRAM} ${WRKSRC}/INT ${PREFIX}/bin/hint-int
${INSTALL_MAN} ${WRKSRC}/hint.1 ${PREFIX}/man/man1
benchmark:
cd ${WRKSRC} ; ${MKDIR} data ; ./DOUBLE | tee hint.out
results:
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC}/hint.out /tmp/benches/`domainname`/hint.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"
|