mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
fa613c5caf
Reported by: portscout
33 lines
697 B
Makefile
33 lines
697 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lzbench
|
|
PORTVERSION= 1.8
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= benchmarks
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= In-memory benchmark of open-source LZ77/LZSS/LZMA compressors
|
|
|
|
USES= compiler:c11 gmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= inikep
|
|
|
|
PLIST_FILES= bin/lzbench
|
|
PORTDOCS= NEWS README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/PROGOS/s,Linux,${OPSYS},' \
|
|
${WRKSRC}/_lzbench/lzbench.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lzbench ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|