summaryrefslogtreecommitdiff
path: root/www/webstone/Makefile
blob: 848df45448d36630f9a726c5bf3e300b935a51ec (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
# New ports collection makefile for:   webstone
# Date created:        25 March 1997
# Whom:                Soren Dossing <sauber@netcom.com>
#
# $FreeBSD$
#

PORTNAME=	webstone
PORTVERSION=	2.5
CATEGORIES=	www benchmarks
MASTER_SITES=	http://www.mindcraft.com/webstone/
DISTNAME=	ws25_src
EXTRACT_SUFX=	.tgz 

MAINTAINER=	k_nishizawa@anet.ne.jp
COMMENT=	World wide web server benchmarking

GNU_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/WebStone2.5/src
ALL_TARGET=	install
NO_INSTALL_MANPAGES=	yes

do-install:
	@${RM} ${WRKSRC}/../bin/runs/keepme
	@${RMDIR} ${WRKSRC}/../bin/runs
	@${MKDIR} ${PREFIX}/webstone/bin
	@${MKDIR} ${PREFIX}/webstone/conf
	@${MKDIR} ${PREFIX}/webstone/lgm
	${INSTALL_SCRIPT} ${WRKSRC}/../bin/* ${PREFIX}/webstone/bin
	${INSTALL_SCRIPT} ${WRKSRC}/../lgm/* ${PREFIX}/webstone/lgm
	${INSTALL_DATA} ${WRKSRC}/../conf/* ${PREFIX}/webstone/conf
	${INSTALL_SCRIPT} ${WRKSRC}/../webstone  ${PREFIX}/webstone
	@${MKDIR} ${WRKSRC}/../bin/runs
	@${TOUCH} ${WRKSRC}/../bin/runs/keepme
.for file in webclient webmaster genrand
	strip ${PREFIX}/webstone/bin/${file}
.endfor
.for file in ws20_cgi ws25_cgi
	strip ${PREFIX}/webstone/lgm/${file}
.endfor

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>