aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ioping/Makefile
blob: 131d3ab75d98dcaa6ba9a7988effdb7e7591685f (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
# New ports collection makefile for:    ioping
# Date created:     27 December 2011
# Whom:         Oleg Ginzburg <olevole@olevole.ru>
#
# $FreeBSD$
#

PORTNAME=   ioping
PORTVERSION=    0.6
CATEGORIES= sysutils
MASTER_SITES=   GOOGLE_CODE

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

LICENSE=    GPLv3

MAN1=       ioping.1
PLIST_FILES=    bin/ioping

MAKE_ENV=   VERSION=${PORTVERSION}

do-build:
    cd ${WRKSRC}; \
    ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -DVERSION=${PORTVERSION} ioping.c -o ioping

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

.include <bsd.port.mk>