Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 01:47:43 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338741 - head/benchmarks/iorate
Message-ID:  <201401050147.s051lhTh014151@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 01:47:42 2014
New Revision: 338741
URL: http://svnweb.freebsd.org/changeset/ports/338741

Log:
  Support stage

Modified:
  head/benchmarks/iorate/Makefile
  head/benchmarks/iorate/pkg-plist

Modified: head/benchmarks/iorate/Makefile
==============================================================================
--- head/benchmarks/iorate/Makefile	Sun Jan  5 01:44:41 2014	(r338740)
+++ head/benchmarks/iorate/Makefile	Sun Jan  5 01:47:42 2014	(r338741)
@@ -15,27 +15,21 @@ MAKEFILE=	makefile
 MAKE_ARGS=	CC="${CC}"
 NO_WRKSUBDIR=	yes
 
-MAN1=		${PORTNAME}.1
 PORTDOCS=	README README.versions
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,^CFLAGS ,&+,' ${WRKSRC}/${MAKEFILE}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/iorate ${WRKSRC}/ior_rand ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
-	@${MKDIR} ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/iorate ${WRKSRC}/ior_rand ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/cycle ${WRKSRC}/gen_* ${WRKSRC}/run_* \
-		${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/*.ior ${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+		${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.ior ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/benchmarks/iorate/pkg-plist
==============================================================================
--- head/benchmarks/iorate/pkg-plist	Sun Jan  5 01:44:41 2014	(r338740)
+++ head/benchmarks/iorate/pkg-plist	Sun Jan  5 01:47:42 2014	(r338741)
@@ -1,5 +1,6 @@
 bin/ior_rand
 bin/iorate
+man/man1/iorate.1.gz
 %%DATADIR%%/cycle
 %%DATADIR%%/devices.ior
 %%DATADIR%%/gen_dev.awk



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