# New ports collection makefile for:	webbench
# Date created:		10 Jan 2004
# Whom:			Radim Kolar
#
# $FreeBSD: ports/benchmarks/webbench/Makefile,v 1.8 2005/06/04 14:13:35 vs Exp $
#

PORTNAME=	webbench
PORTVERSION=	1.5
CATEGORIES=	benchmarks www
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/www/servers

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple forking web benchmark

USE_GETOPT_LONG=yes

MAKE_ENV+=	LDFLAGS="${LDFLAGS}"
MAKE_ARGS+=	CFLAGS="${CPPFLAGS} ${CFLAGS}"

.if !defined(NO_INSTALL_MANPAGES)
MAN1=		webbench.1
.endif

.if !defined(NOPORTDOCS)
PORTDOCS=	copyright changelog
.endif

PLIST_FILES=	bin/webbench

do-install:
		${INSTALL_PROGRAM} ${WRKSRC}/webbench ${PREFIX}/bin
.if !defined(NO_INSTALL_MANPAGES)
		${INSTALL_MAN} ${WRKSRC}/webbench.1 ${MAN1PREFIX}/man/man1
.endif
.if !defined(NOPORTDOCS)
		${MKDIR} ${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/debian/copyright ${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DOCSDIR}
.endif

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1