pkgsrc/benchmarks/hint/Makefile

37 lines
993 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2006/03/04 21:29:01 jlam Exp $
1998-11-13 15:00:50 +01:00
DISTNAME= hint_unix_serial
PKGNAME= hint.serial-98.06.12
CATEGORIES= benchmarks
MASTER_SITES= ftp://ftp.scl.ameslab.gov/pub/HINT/source/tar/
EXTRACT_SUFX= .tar
MAINTAINER= pkgsrc-users@NetBSD.org
1998-11-13 15:06:01 +01:00
HOMEPAGE= http://www.scl.ameslab.gov/Projects/HINT/
COMMENT= Scalable benchmark for testing CPU and memory performance
1998-11-13 15:00:50 +01:00
2004-07-30 17:50:37 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= DOUBLE INT
1998-11-13 15:00:50 +01:00
WRKSRC= ${WRKDIR}/unix
2004-07-30 17:50:37 +02:00
INSTALLATION_DIRS= bin man/man1
post-extract:
${CP} ${FILESDIR}/hint.1 ${WRKSRC}/hint.1
1998-11-13 15:00:50 +01:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/DOUBLE ${PREFIX}/bin/hint-double
${INSTALL_PROGRAM} ${WRKSRC}/INT ${PREFIX}/bin/hint-int
1998-11-13 15:00:50 +01:00
${INSTALL_MAN} ${WRKSRC}/hint.1 ${PREFIX}/man/man1
benchmark:
2000-03-16 13:16:49 +01:00
cd ${WRKSRC} ; ${MKDIR} data ; ./DOUBLE | tee hint.out
results:
@${MKDIR} /tmp/benches/`domainname`
2000-03-16 13:16:49 +01:00
-@${CP} ${WRKSRC}/hint.out /tmp/benches/`domainname`/hint.`uname`-`uname -m`-`uname -r`.`hostname`
1998-11-13 15:06:01 +01:00
.include "../../mk/bsd.pkg.mk"