summaryrefslogtreecommitdiff
path: root/benchmarks/webbench
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-23 23:37:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-23 23:37:38 +0000
commit8bcaa3e72367290b2af16803713c2cf90d114c00 (patch)
treeb54defedf112f3ae1a926c19a51cc50d66458852 /benchmarks/webbench
parentdt is a generic data test program used to verify proper operation of (diff)
- Obey NO_INSTALL_MANPAGES
- Obey NOPORTDOCS PR: ports/61802 Submitted by: Radim Kolar <hsn@netmag.cz> (maintainer)
Diffstat (limited to 'benchmarks/webbench')
-rw-r--r--benchmarks/webbench/Makefile18
-rw-r--r--benchmarks/webbench/pkg-descr2
-rw-r--r--benchmarks/webbench/pkg-plist3
3 files changed, 19 insertions, 4 deletions
diff --git a/benchmarks/webbench/Makefile b/benchmarks/webbench/Makefile
index d0b9245256e7..077e9baf64f5 100644
--- a/benchmarks/webbench/Makefile
+++ b/benchmarks/webbench/Makefile
@@ -15,6 +15,24 @@ MAINTAINER= hsn@netmag.cz
COMMENT= Simple forking web benchmark
USE_GETOPT_LONG=yes
+
+.if !defined(NO_INSTALL_MANPAGES)
MAN1= webbench.1
+.endif
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= copyright changelog
+.endif
+
+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)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/copyright ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/benchmarks/webbench/pkg-descr b/benchmarks/webbench/pkg-descr
index 7a0b39788cd7..6981d9f6a331 100644
--- a/benchmarks/webbench/pkg-descr
+++ b/benchmarks/webbench/pkg-descr
@@ -9,4 +9,4 @@ results in pages/min and bytes/sec.
Radim Kolar
-WWW: http://home.tiscali.cz/~cz210552/webbench.html \ No newline at end of file
+WWW: http://home.tiscali.cz/~cz210552/webbench.html
diff --git a/benchmarks/webbench/pkg-plist b/benchmarks/webbench/pkg-plist
index 79507fa436f3..ce6434a852b2 100644
--- a/benchmarks/webbench/pkg-plist
+++ b/benchmarks/webbench/pkg-plist
@@ -1,4 +1 @@
bin/webbench
-%%PORTDOCS%%%%DOCSDIR%%/copyright
-%%PORTDOCS%%%%DOCSDIR%%/changelog
-%%PORTDOCS%%@dirrm %%DOCSDIR%%