aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ioping/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ioping/Makefile')
-rw-r--r--sysutils/ioping/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/sysutils/ioping/Makefile b/sysutils/ioping/Makefile
index ece663b43b80..75cc3fef4edf 100644
--- a/sysutils/ioping/Makefile
+++ b/sysutils/ioping/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ioping
-PORTVERSION= 0.7
+PORTVERSION= 0.8
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
@@ -11,21 +11,16 @@ COMMENT= Simple disk I/0 latency measuring tool
LICENSE= GPLv3
-MAN1= ioping.1
-PLIST_FILES= bin/ioping
+PLIST_FILES= bin/ioping man/man1/ioping.1.gz
MAKE_ENV= VERSION=${PORTVERSION}
-# for the benefit of <80000
-CFLAGS+= -lm
-
-NO_STAGE= yes
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
+ ${INSTALL_PROGRAM} ${WRKSRC}/ioping ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ioping.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>