summaryrefslogtreecommitdiff
path: root/benchmarks/benchfft/Makefile
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/benchfft/Makefile
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/benchfft/Makefile')
-rw-r--r--benchmarks/benchfft/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/benchmarks/benchfft/Makefile b/benchmarks/benchfft/Makefile
index fda5806e34b..d22e069778d 100644
--- a/benchmarks/benchfft/Makefile
+++ b/benchmarks/benchfft/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2008/01/19 09:16:17 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2008/03/03 00:51:43 jlam Exp $
DISTNAME= benchfft-2.0
-PKGREVISION= 2
+PKGREVISION= 2
CATEGORIES= benchmarks math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
ftp://ftp.fftw.org/pub/fftw/old/benchfft/
@@ -12,6 +12,7 @@ HOMEPAGE= http://www.fftw.org/benchfft/
COMMENT= Benchmark your machine with a number of FFT algorithms
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
@@ -28,8 +29,10 @@ INSTALLATION_DIRS= bin
CONFIGURE_DIRS= ${WRKDIR}/fftw-2.0.1 ${WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bench ${PREFIX}/bin/bench-fft
- ${INSTALL_SCRIPT} ${WRKSRC}/submit-script ${PREFIX}/bin/run-fftbench
+ ${INSTALL_PROGRAM} ${WRKSRC}/bench \
+ ${DESTDIR}${PREFIX}/bin/bench-fft
+ ${INSTALL_SCRIPT} ${WRKSRC}/submit-script \
+ ${DESTDIR}${PREFIX}/bin/run-fftbench
.include "../../mk/bsd.prefs.mk"