svn commit: r343439 - head/benchmarks/iozone

Emanuel Haupt ehaupt at FreeBSD.org
Sun Feb 9 09:13:02 UTC 2014


Author: ehaupt
Date: Sun Feb  9 09:13:02 2014
New Revision: 343439
URL: http://svnweb.freebsd.org/changeset/ports/343439
QAT: https://qat.redports.org/buildarchive/r343439/

Log:
  Support staging

Modified:
  head/benchmarks/iozone/Makefile

Modified: head/benchmarks/iozone/Makefile
==============================================================================
--- head/benchmarks/iozone/Makefile	Sun Feb  9 09:07:01 2014	(r343438)
+++ head/benchmarks/iozone/Makefile	Sun Feb  9 09:13:02 2014	(r343439)
@@ -20,8 +20,7 @@ MAKE_ARGS=	${MAKE_ENV}
 ALL_TARGET=	freebsd
 MAKE_JOBS_UNSAFE=	yes
 
-MAN1=		iozone.1
-PLIST_FILES=	bin/iozone
+PLIST_FILES=	bin/iozone man/man1/iozone.1.gz
 
 OPTIONS_DEFINE=	SSH THREADS
 OPTIONS_DEFAULT=SSH THREADS
@@ -29,7 +28,6 @@ OPTIONS_DEFAULT=SSH THREADS
 SSH_DESC=	Use ssh in distributed measurement
 THREADS_DESC=	Enable threading (uses pthreads)
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MTHREADS}
@@ -46,7 +44,8 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 ${MAN1PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/iozone ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \
+		${STAGEDIR}${MAN1PREFIX}/man/man1
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list