aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--benchmarks/webbench/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/benchmarks/webbench/Makefile b/benchmarks/webbench/Makefile
index a7db5be01448..e65016404991 100644
--- a/benchmarks/webbench/Makefile
+++ b/benchmarks/webbench/Makefile
@@ -9,18 +9,23 @@ MASTER_SITES= SUNSITE/apps/www/servers
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple forking web benchmark
-MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS}"
+LICENSE= GPLv2
-PORTDOCS= copyright changelog
+MAKE_ARGS= CFLAGS="${CPPFLAGS} ${CFLAGS}"
+
+PORTDOCS= ChangeLog
PLIST_FILES= bin/webbench \
man/man1/webbench.1.gz
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/webbench ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/webbench.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/copyright ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>