summaryrefslogtreecommitdiff
path: root/benchmarks/pipebench/Makefile
blob: 595f2867d8d16465996d6f1e9c371e53f6d7bcd1 (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
# ex:ts=8
# New ports collection makefile for:	pipebench
# Date created:			Jan 14, 2003
# Whom:				mich@freebsdcluster.org
#
# $FreeBSD$
#

PORTNAME=	pipebench
PORTVERSION=	0.40
CATEGORIES=	benchmarks
MASTER_SITES=	ftp://ftp.habets.pp.se/pub/synscan/

MAINTAINER=	mich@FreeBSD.org
COMMENT=	Pipebench shows current throughput/amount of data through a pipe

CFLAGS+=	-w -pedantic

do-build:
	cd ${WRKSRC} && \
	${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pipebench ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/pipebench.1 ${PREFIX}/man/man1

MAN1=	pipebench.1
.include <bsd.port.mk>