aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/webbench
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-03 23:34:13 +0800
committeradamw <adamw@FreeBSD.org>2014-01-03 23:34:13 +0800
commite2e4cbd9b35b6c806cda00430c69d44a90276b8b (patch)
treebda726dcf401a0a3088ac3e3520896cd590c1cec /benchmarks/webbench
parent855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99 (diff)
downloadfreebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.tar.gz
freebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.tar.zst
freebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.zip
Convert benchmarks to PORT_OPTIONS:MDOCS
Diffstat (limited to 'benchmarks/webbench')
-rw-r--r--benchmarks/webbench/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmarks/webbench/Makefile b/benchmarks/webbench/Makefile
index 042e87318601..986c4676322e 100644
--- a/benchmarks/webbench/Makefile
+++ b/benchmarks/webbench/Makefile
@@ -16,19 +16,20 @@ MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS}"
MAN1= webbench.1
.endif
-.if !defined(NOPORTDOCS)
PORTDOCS= copyright changelog
-.endif
PLIST_FILES= bin/webbench
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/webbench ${PREFIX}/bin
.if !defined(NO_INSTALL_MANPAGES)
${INSTALL_MAN} ${WRKSRC}/webbench.1 ${MAN1PREFIX}/man/man1
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/copyright ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DOCSDIR}