summaryrefslogtreecommitdiff
path: root/www/httperf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/httperf/Makefile')
-rw-r--r--www/httperf/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/www/httperf/Makefile b/www/httperf/Makefile
new file mode 100644
index 000000000000..127143800337
--- /dev/null
+++ b/www/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>