summaryrefslogtreecommitdiff
path: root/benchmarks/pipebench
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 00:51:43 +0000
committerjlam <jlam>2008-03-03 00:51:43 +0000
commit5e34b9c7fc714e656c1f1792189c0cc3e5349236 (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/pipebench
parent09af58dd14701cbbb6f38bbd905462b016dc40c5 (diff)
downloadpkgsrc-5e34b9c7fc714e656c1f1792189c0cc3e5349236.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/pipebench')
-rw-r--r--benchmarks/pipebench/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/benchmarks/pipebench/Makefile b/benchmarks/pipebench/Makefile
index 2e01ab6823e..d113a4a4c69 100644
--- a/benchmarks/pipebench/Makefile
+++ b/benchmarks/pipebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:29:01 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= pipebench-0.40
@@ -9,9 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.habets.pp.se/synscan/programs.php?prog=pipebench
COMMENT= Measures the speed of a pipe
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pipebench ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/pipebench ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"