2000-12-03 21:01:58 +00:00
|
|
|
# New ports collection makefile for: webstone-ssl
|
|
|
|
# Date created: 2 Nov 2000
|
|
|
|
# Whom: Kazumasa Nishizawa <k_nishizawa@anet.ne.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= webstone
|
2001-02-05 15:33:58 +00:00
|
|
|
PORTVERSION= 2.5
|
2000-12-03 21:01:58 +00:00
|
|
|
CATEGORIES= www benchmarks
|
|
|
|
MASTER_SITES= http://crypto.stanford.edu/~nagendra/projects/WebStone/download/
|
|
|
|
PKGNAMESUFFIX= -ssl
|
|
|
|
DISTNAME= WebStone-SSL-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= k_nishizawa@anet.ne.jp
|
|
|
|
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_AUTOCONF= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}/src
|
|
|
|
ALL_TARGET= install
|
|
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
|
2001-03-12 19:55:49 +00:00
|
|
|
CONFIGURE_ENV= "CFLAGS=${CFLAGS} -I${OPENSSLINC}" \
|
|
|
|
LIBS=-L${OPENSSLLIB}
|
|
|
|
|
2000-12-03 21:01:58 +00:00
|
|
|
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 ${PREFIX}/webstone-ssl/bin/${file}
|
|
|
|
.endfor
|
|
|
|
.for file in ws20_cgi ws25_cgi
|
|
|
|
strip ${PREFIX}/webstone-ssl/lgm/${file}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|