mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
90e0ff2a70
Submitted by: Oleg Ginzburg < olevole at olevole.ru > Reviewed by: crees (mentor) Approved by: maintainer (via email), rene (mentor)
35 lines
691 B
Makefile
35 lines
691 B
Makefile
# 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}
|
|
|
|
# for the benefit of <80000
|
|
CFLAGS+= -lm
|
|
|
|
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>
|