summaryrefslogtreecommitdiff
path: root/benchmarks/httperf/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-08-01 03:21:01 +0000
committerSteve Price <steve@FreeBSD.org>1999-08-01 03:21:01 +0000
commitfb50c3c71e0984017f6b7dca7f06f2c1c75a1f64 (patch)
tree1afdacd8974182020b5bf5d794529eaecf6e3544 /benchmarks/httperf/Makefile
parentActivate freesweep (diff)
Initial import of httperf version 0.6.
A tool for measuring webserver performance. PR: 12878 Submitted by: Will Andrews <andrews@technologist.com>
Notes
Notes: svn path=/head/; revision=20445
Diffstat (limited to 'benchmarks/httperf/Makefile')
-rw-r--r--benchmarks/httperf/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
new file mode 100644
index 000000000000..127143800337
--- /dev/null
+++ b/benchmarks/httperf/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: httperf
+# Version required: 0.6
+# Date created: 28 Jul 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $Id$
+#
+
+DISTNAME= httperf-0.6
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.hpl.hp.com/pub/httperf/
+
+MAINTAINER= andrews@technologist.com
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+USE_GMAKE= yes
+
+# there is no "install" target in the Makefile.
+# also, installing relevant help files, as there is no manpage yet.
+# chmod'ing httperf as it could be exploited by normal users to overload
+# a webserver, instead of for its actual purpose.
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/httperf ${PREFIX}/bin
+ chmod 750 ${PREFIX}/bin/httperf
+ @${MKDIR} ${PREFIX}/share/httperf
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/httperf
+ @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/httperf
+ @${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/httperf
+ @${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/httperf
+ @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/httperf
+
+.include <bsd.port.mk>