1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/benchmarks/interbench/Makefile
2013-03-17 08:58:50 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= interbench
DISTVERSION= 0.31
CATEGORIES= benchmarks
MASTER_SITES= http://ck.kolivas.org/apps/interbench/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Interactivity benchmark for Unix-like systems
LICENSE= GPLv2
USE_BZIP2= yes
USE_GMAKE= yes
ALL_TARGET= clean ${PORTNAME}
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
MAN8= ${PORTNAME}.8
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= readme readme.interactivity
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OSVERSION} < 800000
BROKEN= does not build, requires sqrtl(3)
.endif
post-patch:
# Do not confuse the reader that this program is Linux-specific
@${REINPLACE_CMD} -e '/kernel/!s,Linux,Unix-like systems, ; \
/kernel/s,Linux,the,' ${WRKSRC}/${MAN8}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>