blob: da6dbe7e975fd87d382d9a6ef1713fc5a3760c85 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PORTNAME= shellbench
PORTVERSION= 20200806
CATEGORIES= benchmarks
MAINTAINER= se@FreeBSD.org
COMMENT= Benchmark utility for POSIX shell comparison
WWW= https://github.com/shellspec/shellbench
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>
|