aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/siege/Makefile
blob: 6c264114846dd997fb87cea2314e4a8bbeb11734 (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
35
36
37
38
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

PORTNAME=   siege
PORTVERSION=    2.70
PORTREVISION=   1
CATEGORIES= benchmarks
MASTER_SITES=   ftp://sid.joedog.org/pub/siege/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    HTTP regression testing and benchmarking utility

LICENSE=    GPLv2

GNU_CONFIGURE=  yes
USE_OPENSSL=    yes

USES=       perl5

CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} --disable-shared

MAN1=       siege.1 siege.config.1 bombardment.1 siege2csv.1
MAN5=       urls_txt.5
MAN7=       layingsiege.7

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/src/siege ${PREFIX}/bin/
    @${INSTALL_SCRIPT} ${WRKSRC}/utils/bombardment ${PREFIX}/bin/
    @${INSTALL_SCRIPT} ${WRKSRC}/utils/siege2csv.pl ${PREFIX}/bin/siege2csv
    @${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1/
    @${INSTALL_MAN} ${WRKSRC}/doc/${MAN5} ${MAN1PREFIX}/man/man5/
    @${INSTALL_MAN} ${WRKSRC}/doc/${MAN7} ${MAN1PREFIX}/man/man7/
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/siegerc ${DATADIR}/
    @${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/siege.config.in > ${PREFIX}/bin/siege.config
    @${CHMOD} 555 ${PREFIX}/bin/siege.config

.include <bsd.port.mk>