aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/siege/Makefile
blob: 8e49baf2534bc902464df3a3334d5c29985de428 (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
PORTNAME=	siege
PORTVERSION=	4.1.6
PORTREVISION=	1
CATEGORIES=	benchmarks www
MASTER_SITES=	http://download.joedog.org/siege/ \
		http://fossies.org/linux/www/

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	HTTP regression testing and benchmarking utility
WWW=		https://www.joedog.org/JoeDog/Siege

LICENSE=	GPLv2

USES=		autoreconf libtool perl5 ssl

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS=	--disable-shared \
		--sysconfdir=${ETCDIR} \
		--with-ssl=${OPENSSLBASE}
CONFIGURE_ENV=	PERL="${PERL}"

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+=	-Wno-error=int-conversion
.endif

pre-configure:
	@${RM} ${WRKSRC}/acinclude.m4
	@${RM} ${WRKSRC}/utils/missing

.include <bsd.port.mk>