aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/pipebench/Makefile
blob: a2017e75b36d00871aa754974f368e8e80658c39 (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
PORTNAME=	pipebench
PORTVERSION=	0.40
PORTREVISION=	1
CATEGORIES=	benchmarks
MASTER_SITES=	http://www.habets.pp.se/synscan/files/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Pipebench shows current throughput/amount of data through a pipe
WWW=		https://www.habets.pp.se/synscan/programs.php?prog=pipebench

PLIST_FILES=	bin/pipebench \
		share/man/man1/pipebench.1.gz

CFLAGS+=	-w -pedantic

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

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

.include <bsd.port.mk>