diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
commit | a8d751d3ee9814c8c87f2584ac569caad9e846c3 (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/whetstone | |
parent | 890d023bb4d81924557661e4ff402b236d159141 (diff) | |
download | pkgsrc-a8d751d3ee9814c8c87f2584ac569caad9e846c3.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/whetstone')
-rw-r--r-- | benchmarks/whetstone/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/whetstone/Makefile b/benchmarks/whetstone/Makefile index 0833e9c1262..d5356ef1f8d 100644 --- a/benchmarks/whetstone/Makefile +++ b/benchmarks/whetstone/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2008/01/19 09:16:19 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 00:51:44 jlam Exp $ DISTNAME= whetstone PKGNAME= whetstone-1.2 @@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Benchmark for processors that gives you a MIPS rating PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} @@ -19,7 +20,7 @@ do-build: (cd ${WRKSRC} ; ${CC} ${CFLAGS} -o whetstone whetstone.c -lm) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/whetstone ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/whetstone ${DESTDIR}${PREFIX}/bin benchmark: @${WRKSRC}/whetstone 80000 | tee ${WRKSRC}/whetstone.out |