aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/pipebench/Makefile
blob: 99fa3d1322e37aa71aa01d70d6fb375e46c83b1c (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
# 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
PLIST_FILES=    bin/pipebench

.include <bsd.port.mk>