aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/siege/Makefile
blob: 6203d8fe54f1d434e1eb0108616d4d815fbe98be (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
# New ports collection makefile for:	siege
# Date created:			Jun 2, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	siege
PORTVERSION=	2.02
CATEGORIES=	benchmarks
MASTER_SITES=	ftp://ftp.armstrong.com/pub/siege/ \
		http://nerf-herder.net/siege/

MAINTAINER=	markp@FreeBSD.org

USE_LIBTOOL=	yes
CONFIGURE_ARGS+=	--with-ssl=/usr --disable-shared
MAN1=	siege.1 siege.config.1 scout.1 layingsiege.1 urls_txt.1 bombardment.1 \
	siege2csv.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/siege/siege ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/src/scout/scout ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/utils/bombardment ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/utils/siege.config ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/utils/siege2csv.pl ${PREFIX}/bin/siege2csv
.for F in bombardment.1 layingsiege.1 scout.1 siege.1 siege.config.1 \
		siege2csv.1 urls_txt.1
	${INSTALL_MAN} ${WRKSRC}/doc/${F} ${PREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/doc/manual.html \
		${PREFIX}/share/doc/${PORTNAME}
.endif

.include <bsd.port.mk>