summaryrefslogtreecommitdiffstats
path: root/benchmarks/webbench/Makefile
blob: c5436541572f6ce2c3290a40965b03a279168395 (plain)
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
# New ports collection makefile for:	webbench
# Date created:		10 Jan 2004
# Whom:			Radim Kolar
#
# $FreeBSD$
#

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>
OpenPOWER on IntegriCloud