mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
b2b2849a52
- Support staging PR: ports/184850 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: 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
|
|
|
|
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}/src
|
|
|
|
USE_OPENSSL= yes
|
|
USE_AUTOTOOLS= autoconf213
|
|
ALL_TARGET= install
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CPPFLAGS+= -I${OPENSSLINC}
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
pre-configure:
|
|
@${RM} -f ${WRKSRC}/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
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
|
|
.endfor
|
|
.for i in ws20_cgi ws25_cgi
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|