summaryrefslogtreecommitdiff
path: root/benchmarks/nbench
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 00:51:43 +0000
committerjlam <jlam>2008-03-03 00:51:43 +0000
commit47ea0a619138ec48bf6f6b8dd266feca338f19e0 (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/nbench
parent1e4d986899bd1f99c95ee5a1ef8f9cd3fe3a3bd2 (diff)
downloadpkgsrc-47ea0a619138ec48bf6f6b8dd266feca338f19e0.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/nbench')
-rw-r--r--benchmarks/nbench/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/benchmarks/nbench/Makefile b/benchmarks/nbench/Makefile
index a16cfaf2270..8e6d2203f82 100644
--- a/benchmarks/nbench/Makefile
+++ b/benchmarks/nbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/03/04 21:29:01 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= nbench-byte-2.2.2
@@ -10,11 +10,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tux.org/~mayer/linux/
COMMENT= Benchmark tool for CPU, FPU and memory
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= default
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"