aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/webbench/Makefile
blob: e3d16250cc1e1d40793b66ffd8ae69ef044f7900 (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
# 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

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>