1daa2518bb
- Remove unnecessary chmods
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# Created by: Kazumasa Nishizawa <k_nishizawa@anet.ne.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= webstone
|
|
PORTVERSION= 2.5
|
|
PORTREVISION= 4
|
|
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 ssl
|
|
USE_PERL5= run
|
|
SHEBANG_FILES= bin/*.wpl bin/*.pl
|
|
perl_OLD_CMD= /bin/perl5 /usr/local/bin/perl5.001
|
|
GNU_CONFIGURE= yes
|
|
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/src
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
ALL_TARGET= install
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
pre-configure:
|
|
@${RM} ${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
|
|
.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>
|