blob: a4f64e27e6c06471bdaf5201a088d18e6c2f2c70 (
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
50
51
52
53
54
55
56
57
|
# Created by: Kazumasa Nishizawa <k_nishizawa@anet.ne.jp>
# $FreeBSD$
PORTNAME= webstone
PORTVERSION= 2.5
PORTREVISION= 3
CATEGORIES= www benchmarks
MASTER_SITES= http://crypto.stanford.edu/~nagendra/projects/WebStone/download/
PKGNAMESUFFIX= -ssl
DISTNAME= WebStone-SSL-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= World wide web server benchmarking with SSL support
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5 shebangfix tar:tgz
USE_PERL5= run
SHEBANG_FILES= bin/*.wpl bin/*.pl
perl_OLD_CMD= /bin/perl5
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}
CONFIGURE_WRKSRC= ${WRKSRC}/src
BUILD_WRKSRC= ${WRKSRC}/src
USE_OPENSSL= yes
ALL_TARGET= install
MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
pre-configure:
@${RM} -f ${WRKSRC}/src/config.cache
do-install:
@${RMDIR} ${WRKSRC}/bin/runs
@${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/conf
@${MKDIR} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm
${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/webstone-ssl/bin
${INSTALL_SCRIPT} ${WRKSRC}/lgm/* ${STAGEDIR}${PREFIX}/webstone-ssl/lgm
${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${PREFIX}/webstone-ssl/conf
${INSTALL_SCRIPT} ${WRKSRC}/webstone ${STAGEDIR}${PREFIX}/webstone-ssl
@${MKDIR} ${WRKSRC}/bin/runs
.for i in webclient webmaster genrand
${CHMOD} u+w ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
${CHMOD} u-w ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
.endfor
.for i in ws20_cgi ws25_cgi
${CHMOD} u+w ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
${CHMOD} u-w ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
.endfor
.include <bsd.port.mk>
|