2011-12-27 20:38:35 +00:00
|
|
|
# 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}
|
|
|
|
|
2012-01-03 21:03:57 +00:00
|
|
|
# for the benefit of <80000
|
|
|
|
CFLAGS+= -lm
|
|
|
|
|
2011-12-27 20:38:35 +00:00
|
|
|
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>
|