summaryrefslogtreecommitdiff
path: root/benchmarks/hint
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
commit075003a60c727330726570ab7674a2ee12c5654f (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/hint
parentbd579f3497266e46fb3a16428bf69c529a427d58 (diff)
downloadpkgsrc-075003a60c727330726570ab7674a2ee12c5654f.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'benchmarks/hint')
-rw-r--r--benchmarks/hint/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/benchmarks/hint/Makefile b/benchmarks/hint/Makefile
index 5e57d1d6156..d3cf4c1794c 100644
--- a/benchmarks/hint/Makefile
+++ b/benchmarks/hint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/01/07 09:13:47 rillig Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/03 00:51:44 jlam Exp $
DISTNAME= hint_unix_serial
PKGNAME= hint.serial-98.06.12
@@ -11,6 +11,7 @@ HOMEPAGE= http://hint.byu.edu/
COMMENT= Scalable benchmark for testing CPU and memory performance
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= DOUBLE INT
@@ -22,9 +23,9 @@ 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}/${PKGMANDIR}/man1
+ ${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