aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/httperf/Makefile
blob: 045a5e4738ba563b008256afc50b159e6545846f (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
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$

PORTNAME=   httperf
PORTVERSION=    0.9.0
CATEGORIES= benchmarks www
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= jlaffaye@FreeBSD.org
COMMENT=    Tool for measuring webserver performance

LICENSE=    GPLv2

USE_OPENSSL=    yes
GNU_CONFIGURE=  yes
USES=       gmake
MAKE_ARGS=  LIBUTIL_OBJS=ssl_writev.o \
        exec_prefix=${PREFIX}

PLIST_FILES=    bin/httperf \
        man/man1/httperf.1.gz

OPTIONS_DEFINE= DOCS
PORTDOCS=   ChangeLog NEWS README TODO

do-install:
    ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
    ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>