aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 09:47:42 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 09:47:42 +0800
commit013273d37c4abe0582259f32d378f63d2622bdbb (patch)
treec274867c3e2cb7e298446780bc94728f7ec87177 /benchmarks
parent142f450550d0f7aa3c3946ee35520e775021b7fb (diff)
downloadfreebsd-ports-gnome-013273d37c4abe0582259f32d378f63d2622bdbb.tar.gz
freebsd-ports-gnome-013273d37c4abe0582259f32d378f63d2622bdbb.tar.zst
freebsd-ports-gnome-013273d37c4abe0582259f32d378f63d2622bdbb.zip
Support stage
Diffstat (limited to 'benchmarks')
-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