summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-02-09 20:02:45 +0000
committerrillig <rillig@pkgsrc.org>2020-02-09 20:02:45 +0000
commit018d714c6ba26fe87d782cbfea824f431bdd65ff (patch)
tree8d5801adb78c497ec2f518c589e8c5c5e52f9799 /benchmarks
parent05943a1bf5386e272941c6698e2f008811c9b103 (diff)
downloadpkgsrc-018d714c6ba26fe87d782cbfea824f431bdd65ff.tar.gz
benchmarks/bonnie++: fix reference to documentation
Fixes pkg/54830.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bonnie++/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile
index 051965f1eaf..85cf9d27b88 100644
--- a/benchmarks/bonnie++/Makefile
+++ b/benchmarks/bonnie++/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2020/01/26 17:30:46 rillig Exp $
+# $NetBSD: Makefile,v 1.38 2020/02/09 20:02:45 rillig Exp $
#
DISTNAME= bonnie++-1.97.3
CATEGORIES= benchmarks
-PKGREVISION= 3
+PKGREVISION= 4
MASTER_SITES= http://www.coker.com.au/bonnie++/experimental/
EXTRACT_SUFX= .tgz
@@ -20,6 +20,11 @@ INSTALLATION_DIRS= bin share/doc/bonnie++ ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
CFLAGS.NetBSD+= -D_LARGEFILE64_SOURCE=1
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= bonnie++.8
+SUBST_SED.paths= -e 's,/usr/share/doc/,${PREFIX}/share/doc/,'
+
# todo: patch bonnie++.8 to point to correct path to readme.html
post-install:
${INSTALL_DATA} ${WRKSRC}/readme.html ${DESTDIR}${PREFIX}/share/doc/bonnie++/