summaryrefslogtreecommitdiff
path: root/benchmarks/httperf/Makefile
blob: 127143800337907892d1447a53d776a5be8014d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>