File:
[cvs.NetBSD.org] /
pkgsrc /
benchmarks /
hint /
Makefile
Revision
1.25:
download - view:
text,
annotated -
select for diffs
Tue Sep 11 22:37:12 2012 UTC (12 years, 3 months ago) by
asau
Branches:
MAIN
CVS tags:
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
HEAD
"user-destdir" is default these days
# $NetBSD: Makefile,v 1.25 2012/09/11 22:37:12 asau 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 ${PKGMANDIR}/man1
post-extract:
${CP} ${FILESDIR}/hint.1 ${WRKSRC}/hint.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/DOUBLE ${DESTDIR}${PREFIX}/bin/hint-double
${INSTALL_PROGRAM} ${WRKSRC}/INT ${DESTDIR}${PREFIX}/bin/hint-int
${INSTALL_MAN} ${WRKSRC}/hint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/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"
CVSweb <webmaster@jp.NetBSD.org>