freebsd-ports/www/webstone/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

44 lines
1.1 KiB
Makefile

# 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= ftp://ftp.mindcraft.com/webstone/
DISTNAME= ws25_src
EXTRACT_SUFX= .tgz
MAINTAINER= sauber@netcom.com
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>