1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/benchmarks/interbench/Makefile
Alexey Dokuchaev 53f768e355 Reclaim maintainership of ports that I still use regularly, but decided to
relinquish at some point to allow contributions coming more easily (not to
impose hard lock).  These days, there is no reason to yield maintainership
with the more lax rules and general consensus that casual changes do not
necessarily require explicit approval from maintainer prior to commit.

On the other hand, unmaintained ports can give (arguably false) impression
of being unwanted and one step above deprecation, yet these ports are not.

Inspired by:	marino
2015-04-07 13:21:09 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= interbench
DISTVERSION= 0.31
CATEGORIES= benchmarks
MASTER_SITES= http://ck.kolivas.org/apps/${PORTNAME}/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Interactivity benchmark for Unix-like systems
LICENSE= GPLv2
USES= tar:bzip2 gmake
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME} man/man8/${PORTNAME}.8.gz
PORTDOCS= readme readme.interactivity
OPTIONS_DEFINE= DOCS
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}/${PORTNAME}.8
pre-build:
# Remove stale Linuxish object files and binaries; setting ALL_TARGET to
# "clean ${PORTNAME}" turned out to be racy and breaking parallel builds
${MAKE} -C ${BUILD_WRKSRC} clean
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>