aboutsummaryrefslogtreecommitdiff
path: root/www/webstone-ssl/Makefile
blob: 1445847324523aa5cfa54f7c251965e85e475220 (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
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:	webstone-ssl
# Date created:				2 Nov 2000
# Whom:					Kazumasa Nishizawa <k_nishizawa@anet.ne.jp>
#
# $FreeBSD$
#

PORTNAME=	webstone
PORTVERSION=	2.5
CATEGORIES=	www benchmarks
MASTER_SITES=	http://crypto.stanford.edu/~nagendra/projects/WebStone/download/
PKGNAMESUFFIX=	-ssl
DISTNAME=	WebStone-SSL-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	World wide web server benchmarking with SSL support

USE_OPENSSL=	yes
USE_AUTOTOOLS=	autoconf213
GNU_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/WebStone${PORTVERSION}/src
ALL_TARGET=	install
NO_INSTALL_MANPAGES=	yes

CONFIGURE_ENV=	LIBS=-L${OPENSSLLIB}
CFLAGS+=	-I${OPENSSLINC}

do-install:
	@${RMDIR} ${WRKSRC}/../bin/runs
	@${MKDIR} ${PREFIX}/webstone-ssl/bin
	@${MKDIR} ${PREFIX}/webstone-ssl/conf
	@${MKDIR} ${PREFIX}/webstone-ssl/lgm
	${INSTALL_SCRIPT} ${WRKSRC}/../bin/* ${PREFIX}/webstone-ssl/bin
	${INSTALL_SCRIPT} ${WRKSRC}/../lgm/* ${PREFIX}/webstone-ssl/lgm
	${INSTALL_DATA} ${WRKSRC}/../conf/* ${PREFIX}/webstone-ssl/conf
	${INSTALL_SCRIPT} ${WRKSRC}/../webstone  ${PREFIX}/webstone-ssl
	@${MKDIR} ${WRKSRC}/../bin/runs
.for file in webclient webmaster genrand
	${STRIP_CMD} ${PREFIX}/webstone-ssl/bin/${file}
.endfor
.for file in ws20_cgi ws25_cgi
	${STRIP_CMD} ${PREFIX}/webstone-ssl/lgm/${file}
.endfor

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>