aboutsummaryrefslogtreecommitdiff
path: root/www/httperf/Makefile
blob: ead81c0865a6f4a57fc2afccd73a5385ea7e2a6d (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: Makefile,v 1.1.1.1 1999/08/01 03:21:01 steve Exp $
#

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>