1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Fix build with clang

- Support staging

PR:		ports/184850
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Pawel Pekala 2013-12-19 22:45:34 +00:00
parent ddddbdd04e
commit b2b2849a52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336967

View File

@ -12,36 +12,34 @@ 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
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}/src
ALL_TARGET= install
NO_INSTALL_MANPAGES= yes
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ENV= LIBS=-L${OPENSSLLIB}
CFLAGS+= -I${OPENSSLINC}
CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
pre-configure:
@${RM} -f ${WRKSRC}/config.cache
NO_STAGE= yes
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} ${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 file in webclient webmaster genrand
${STRIP_CMD} ${PREFIX}/webstone-ssl/bin/${file}
.for i in webclient webmaster genrand
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/bin/${i}
.endfor
.for file in ws20_cgi ws25_cgi
${STRIP_CMD} ${PREFIX}/webstone-ssl/lgm/${file}
.for i in ws20_cgi ws25_cgi
${STRIP_CMD} ${STAGEDIR}${PREFIX}/webstone-ssl/lgm/${i}
.endfor
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>