1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/benchmarks/iorate/Makefile
Alexey Dokuchaev 3c54e182a1 - Switch to DISTVERSION to avoid hard-coded value in MASTER_SITES
- Similarly, avoid hardcoding the port name in DISTNAME
- Wrap one overly long line when installing programs
2015-11-19 17:23:57 +00:00

37 lines
970 B
Makefile

# $FreeBSD$
PORTNAME= iorate
DISTVERSION= 3-05
CATEGORIES= benchmarks
MASTER_SITES= http://sites.google.com/site/vwiorate/downloads/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tar
MAINTAINER= blttll@gmail.com
COMMENT= General purpose storage I/O benchmarking tool
USES= alias bison
MAKEFILE= makefile
MAKE_ARGS= CC="${CC}"
NO_WRKSUBDIR= yes
PORTDOCS= README README.versions
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,^CFLAGS ,&+,' ${WRKSRC}/${MAKEFILE}
do-install:
${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_* \
${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.ior ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>