1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/benchmarks/shellbench/Makefile
Stefan Eßer 05857c1ba0 benchmarks/shellbench: add new port
This program allows to compare the performance of different POSIX
shells (e.g. sh, bash, dash, ksh, zsh, ...).

A number of sample scripts are included and can be easily extended to
cover more areas.
2021-09-23 12:21:21 +02:00

30 lines
734 B
Makefile

PORTNAME= shellbench
PORTVERSION= 20200806
CATEGORIES= benchmarks
MAINTAINER= se@FreeBSD.org
COMMENT= Benchmark utility for POSIX shell comparison
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= shellspec
GH_TAGNAME= ce43ba49d3
NO_ARCH= yes
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
do-install:
${REINPLACE_CMD} 's:%%DATADIR%%:${DATADIR}:g' ${WRKSRC}/shellbench
${REINPLACE_CMD} 's:%%DOCSDIR%%:${DOCSDIR}:g' ${WRKSRC}/shellbench
${INSTALL_SCRIPT} ${WRKSRC}/shellbench ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${DATADIR}/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>