summaryrefslogtreecommitdiff
path: root/www/httperf/Makefile
blob: ed75357898e2a0ba450b3a3484e34df0524d31dd (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
34
# New ports collection makefile for:	httperf
# Date created:		28 Jul 1999
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=	httperf
PORTVERSION= 	0.6
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.hpl.hp.com/pub/httperf/

MAINTAINER=	ports@FreeBSD.org

WRKSRC=		${WRKDIR}/${PKGNAME}
USE_GMAKE=	yes
MAN1=		httperf.1

# there is no "install" target in the Makefile.
# 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
	@${INSTALL_MAN} ${WRKSRC}/httperf.man ${PREFIX}/man/man1/httperf.1
	@${MKDIR} ${PREFIX}/share/doc/httperf
	@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/httperf
	@${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/httperf
	@${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/httperf
	@${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/httperf
	@${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/httperf

.include <bsd.port.mk>