summaryrefslogtreecommitdiffstats
path: root/sysutils/ioping/Makefile
blob: e29517b0f4db0b4f0bee23124425dd0c47c60aa7 (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
# Created by: Oleg Ginzburg <olevole@olevole.ru>
# $FreeBSD$

PORTNAME=	ioping
PORTVERSION=	0.9
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	olevole@olevole.ru
COMMENT=	Simple disk I/0 latency measuring tool

LICENSE=	GPLv3

USE_GITHUB=	yes
GH_ACCOUNT=	koct9i

PLIST_FILES=	bin/ioping man/man1/ioping.1.gz

do-build:
	(cd ${WRKSRC} && ${CC} ${CFLAGS} -DVERSION=${PORTVERSION} ioping.c \
		-o ioping ${LDFLAGS} -lm)

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud