aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/iorate
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:47:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:47:42 +0000
commitf880edeb958633a845d80c9aacdc280c07c7fcc7 (patch)
treec274867c3e2cb7e298446780bc94728f7ec87177 /benchmarks/iorate
parentd565d68dcd44a61fb368691e1c65b93754d1a6bf (diff)
downloadports-f880edeb958633a845d80c9aacdc280c07c7fcc7.tar.gz
ports-f880edeb958633a845d80c9aacdc280c07c7fcc7.zip
Notes
Diffstat (limited to 'benchmarks/iorate')
-rw-r--r--benchmarks/iorate/Makefile20
-rw-r--r--benchmarks/iorate/pkg-plist1
2 files changed, 8 insertions, 13 deletions
diff --git a/benchmarks/iorate/Makefile b/benchmarks/iorate/Makefile
index f4aa35c2aa6f..03252a2736d5 100644
--- a/benchmarks/iorate/Makefile
+++ b/benchmarks/iorate/Makefile
@@ -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>
diff --git a/benchmarks/iorate/pkg-plist b/benchmarks/iorate/pkg-plist
index e41f6c3c5342..54856d52860a 100644
--- a/benchmarks/iorate/pkg-plist
+++ b/benchmarks/iorate/pkg-plist
@@ -1,5 +1,6 @@
bin/ior_rand
bin/iorate
+man/man1/iorate.1.gz
%%DATADIR%%/cycle
%%DATADIR%%/devices.ior
%%DATADIR%%/gen_dev.awk