aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
commite1bfdfbe5665c963621e06f6bbfbbc2c000a804e (patch)
treeeaf052562fa1ad9b232918eb5e617ac1df0dd725 /benchmarks
parentf57bc4af665126de839ff734a08e57726e84da84 (diff)
downloadports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.tar.gz
ports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.zip
Add DOCS options to ports that should have one.
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
Notes
Notes: svn path=/head/; revision=479406
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iperf3/Makefile2
-rw-r--r--benchmarks/pathchirp/Makefile2
-rw-r--r--benchmarks/ramspeed/Makefile2
-rw-r--r--benchmarks/thrulay/Makefile2
4 files changed, 8 insertions, 0 deletions
diff --git a/benchmarks/iperf3/Makefile b/benchmarks/iperf3/Makefile
index e5c32854ad7d..0e12e6dc9e45 100644
--- a/benchmarks/iperf3/Makefile
+++ b/benchmarks/iperf3/Makefile
@@ -22,6 +22,8 @@ PORTDOCS= README.md RELEASE_NOTES
# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+OPTIONS_DEFINE= DOCS
+
post-patch:
# Don't build stuff that we're not going to install. Among other
# things this means we're not going to try to build profiled objects
diff --git a/benchmarks/pathchirp/Makefile b/benchmarks/pathchirp/Makefile
index a578c281614e..fde0945a0396 100644
--- a/benchmarks/pathchirp/Makefile
+++ b/benchmarks/pathchirp/Makefile
@@ -17,6 +17,8 @@ MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/pathchirp_rcv bin/pathchirp_snd bin/pathchirp_run
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS.*O4/d' ${WRKSRC}/configure
diff --git a/benchmarks/ramspeed/Makefile b/benchmarks/ramspeed/Makefile
index 463ebf39e54d..31101ad6a68c 100644
--- a/benchmarks/ramspeed/Makefile
+++ b/benchmarks/ramspeed/Makefile
@@ -18,6 +18,8 @@ LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell
PLIST_FILES= bin/ramspeed
PORTDOCS= HISTORY README
+OPTIONS_DEFINE= DOCS
+
do-build:
cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh
diff --git a/benchmarks/thrulay/Makefile b/benchmarks/thrulay/Makefile
index 45cd5e23f95a..7c7840ac5069 100644
--- a/benchmarks/thrulay/Makefile
+++ b/benchmarks/thrulay/Makefile
@@ -20,6 +20,8 @@ MAKE_JOBS_UNSAFE= yes
PORTDOCS= ChangeLog README thrulay-protocol.txt thrulay-index.html
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e '922s,datarootdir,prefix,g' ${WRKSRC}/configure