summaryrefslogtreecommitdiff
path: root/www/webstone/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-09-05 01:45:47 +0000
committerSteve Price <steve@FreeBSD.org>2000-09-05 01:45:47 +0000
commit9d8850258c93d7b95d7410b66f31700cd74f629a (patch)
tree12612782be2db00830f352f1a093559aee615b32 /www/webstone/Makefile
parent- Fix MASTER_SITES. (diff)
Update to version 2.5.
PR: 20832 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=32280
Diffstat (limited to 'www/webstone/Makefile')
-rw-r--r--www/webstone/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/www/webstone/Makefile b/www/webstone/Makefile
index 8fb8426a880f..12b82938418c 100644
--- a/www/webstone/Makefile
+++ b/www/webstone/Makefile
@@ -6,35 +6,39 @@
#
PORTNAME= webstone
-PORTVERSION= 2.0.1
+PORTVERSION= 2.5
CATEGORIES= www benchmarks
-#WebStone no longer distributed by SGi
-#MASTER_SITES= http://www.sgi.com/Products/WebFORCE/WebStone/
-DISTNAME= WebStone-2.0
+MASTER_SITES= ftp://ftp.mindcraft.com/webstone/ \
+ ftp://ftp.mindcraft.com/anonymous/webstone/ \
+ ftp://ftp.mindcraft.com/pub/webstone/
+DISTNAME= ws25_src
+EXTRACT_SUFX= .tgz
MAINTAINER= sauber@netcom.com
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/WebStone/src
+WRKSRC= ${WRKDIR}/WebStone2.5/src
ALL_TARGET= install
NO_INSTALL_MANPAGES= yes
-post-extract:
- ( cd ${WRKSRC}; make clobber )
-
-# otherwise these files will be installed by do-install target below
-post-patch:
- find ${WRKSRC}/.. -name '*.orig' | xargs rm -f
-
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} ${PKGDIR}/MESSAGE