summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/bonnie++/Makefile')
-rw-r--r--benchmarks/bonnie++/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile
index aee7fdd8e34..20f90072da8 100644
--- a/benchmarks/bonnie++/Makefile
+++ b/benchmarks/bonnie++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/05/21 15:26:07 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:08 joerg Exp $
#
DISTNAME= bonnie++-1.03c
@@ -11,17 +11,18 @@ HOMEPAGE= http://www.coker.com.au/bonnie++/
COMMENT= Enhanced performance Test of Filesystem I/O
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
USE_TOOLS+= gmake perl:run tee
REPLACE_PERL+= bon_csv2txt.in bon_csv2html.in
-INSTALLATION_DIRS= share/doc/bonnie++
+INSTALLATION_DIRS= bin share/doc/bonnie++ ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
# todo: patch bonnie++.8 to point to correct path to readme.html
post-install:
- ${INSTALL_DATA} ${WRKSRC}/readme.html ${PREFIX}/share/doc/bonnie++/
+ ${INSTALL_DATA} ${WRKSRC}/readme.html ${DESTDIR}${PREFIX}/share/doc/bonnie++/
.PHONY: benchmark
benchmark: build