Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 10:51:12 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343021 - in head/benchmarks/iozone21: . files
Message-ID:  <201402061051.s16ApCXg078793@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Feb  6 10:51:12 2014
New Revision: 343021
URL: http://svnweb.freebsd.org/changeset/ports/343021
QAT: https://qat.redports.org/buildarchive/r343021/

Log:
  - Stage support

Modified:
  head/benchmarks/iozone21/Makefile
  head/benchmarks/iozone21/files/patch-aa

Modified: head/benchmarks/iozone21/Makefile
==============================================================================
--- head/benchmarks/iozone21/Makefile	Thu Feb  6 10:49:29 2014	(r343020)
+++ head/benchmarks/iozone21/Makefile	Thu Feb  6 10:51:12 2014	(r343021)
@@ -13,13 +13,12 @@ COMMENT=	Performance Test of Sequential 
 
 CONFLICTS=	iozone-3.*
 
-PLIST_FILES=	bin/iozone
+PLIST_FILES=	bin/iozone \
+		man/man1/iozone.1.gz
 
 EXTRACT_CMD=	( ${GZCAT} | ${AWK} '{if (/^\#!/) x++} {if(x) print $$0'}| ${SH} )
 EXTRACT_BEFORE_ARGS=	<
 EXTRACT_AFTER_ARGS=	# empty
 NO_WRKSUBDIR=	YES
-MAN1=		iozone.1
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/benchmarks/iozone21/files/patch-aa
==============================================================================
--- head/benchmarks/iozone21/files/patch-aa	Thu Feb  6 10:49:29 2014	(r343020)
+++ head/benchmarks/iozone21/files/patch-aa	Thu Feb  6 10:51:12 2014	(r343021)
@@ -9,9 +9,9 @@
 + 	$(CC) $(CFLAGS) -Dbsd4_3 -DOS_TYPE="\"FreeBSD 2.x\"" -o iozone iozone.c
 + 
 + install:
-+ 	-@mkdir -p ${PREFIX}/bin
-+ 	-@mkdir -p ${PREFIX}/man/man1
-+ 	${BSD_INSTALL_PROGRAM} iozone ${PREFIX}/bin
++ 	-@mkdir -p $(DESTDIR)${PREFIX}/bin
++ 	-@mkdir -p $(DESTDIR)${PREFIX}/man/man1
++ 	${BSD_INSTALL_PROGRAM} iozone $(DESTDIR)${PREFIX}/bin
 + 	@echo .Dd `/bin/date` > iozone.1
 + 	@echo .Dt IOZONE 1 >> iozone.1
 + 	@echo .Sh NAME >> iozone.1
@@ -35,4 +35,4 @@
 + 		 {if (x) print $0}' >>iozone.1
 + 	@echo .Sh AUTHOR >> iozone.1
 + 	@echo Bill Norcott >> iozone.1
-+ 	${BSD_INSTALL_MAN} iozone.1 ${PREFIX}/man/man1
++ 	${BSD_INSTALL_MAN} iozone.1 $(DESTDIR)${PREFIX}/man/man1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061051.s16ApCXg078793>