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/benchfft | |
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/benchfft')
-rw-r--r-- | benchmarks/benchfft/Makefile | 11 |
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" |