freebsd-ports/benchmarks/lmbench/Makefile
Tobias C. Berner 86b2c5122a benchmarks: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey V. Degtyarev
  *  Andreas Kohn <andreas@syndrom23.de>
  *  Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
  *  Andrey Zakhvatov <andy@FreeBSD.org>
  *  Andy Clark <andrewclarkii@gmail.com>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Brad Davis <brd@FreeBSD.org>
  *  Bruce A. Mah <bmah@FreeBSD.org>
  *  Chao Shin <quakelee@cn.freebsd.org>
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org>
  *  David O'Brien (obrien@FreeBSD.org)
  *  David O'Brien (obrien@NUXI.com)
  *  Dima Sivachenko <dima@chg.ru>
  *  Gabriel M. Dutra <0xdutra@gmail.com>
  *  Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Hannes Hauswedell <h2+fbsdports@fsfe.org>
  *  Johannes Dieterich <dieterich@ogolem.org>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  Joseph Koshy <jkoshy@FreeBSD.org>
  *  Kris Moore <kmoore@FreeBSD.org>
  *  Lars Eggert <lars@eggert.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Matthias Fechner <mfechner@FreeBSD.org>
  *  NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
  *  NAKATA Maho <maho@FreeBSD.org>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Pete Fritchman <petef@databits.net>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Radim Kolar
  *  Radim Kolar <hsn@sendmail.cz>
  *  Roman Bogorodskiy <bogorodskiy@inbox.ru>
  *  Scott Flatman <sf@dsinw.com>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Kandaurov <pluknet@gmail.com>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Slava Shwartsman <slavash@FreeBSD.org>
  *  Stephen Montgomery-Smith <stephen@math.missouri.edu>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Thomas Dreibholz <dreibh@iem.uni-due.de>
  *  Tom Judge <tom@tomjudge.com>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vsevolod Stakhov <vsevolod@FreeBSD.org>
  *  Will Andrews <andrews@technologist.com>
  *  Yen-Ming Lee <leeym@FreeBSD.org>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  arved
  *  asami
  *  dikshie <dikshie@lapi.itb.ac.id>
  *  gnn
  *  ijliao
  *  janos.mohacsi@bsd.hu
  *  jesper@jdn.dk
  *  jmz
  *  koshy
  *  luigi@FreeBSD.org
  *  mharo@FreeBSD.org
  *  mich@freebsdcluster.org
  *  mr
  *  se
  *  shalunov
  *  thierry@pompo.net
  *  trasz <trasz@pin.if.uz.zgora.pl>
  *  uminac

With hat:	portmgr
2022-07-20 16:20:56 +02:00

56 lines
1.9 KiB
Makefile

PORTNAME= lmbench
PORTVERSION= 3.0.a9
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= benchmarks
MASTER_SITES= SF/${PORTNAME}/development/${PORTNAME}-3.0-a9 http://thegaul.org/src/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.a9/-a9/}
MAINTAINER= sacchi@gmail.com
COMMENT= System performance measurement tool
ALL_TARGET= build
MAKE_ARGS= CC="${CC}"
MAKE_ENV= PATH=${PATH}:${WRKSRC}/scripts
USES= shebangfix perl5 gmake tar:tgz
USE_PERL5= run
SHEBANG_FILES= scripts/getresults
PLIST_SUB= LMBENCH_OS=${ARCH}-${OPSYS:tl}${OSREL}
test: build
@(cd ${WRKSRC}; make results)
retest: build
@(cd ${WRKSRC}; make rerun)
# This version seems to think that it's checked out directly from
# bitkeeper. It wants to look in ../SCCS/s.ChangeSet to find
# its version. Instead, make ../SCCS/s.ChangeSet old enough that
# make won't care, and create a bk.ver file with the distname in it.
post-extract:
${MKDIR} ${WRKSRC}/SCCS
${TOUCH} -t 199901010000 ${WRKSRC}/SCCS/s.ChangeSet
cd ${WRKSRC}/scripts; ./version > ${WRKSRC}/src/bk.ver
${ECHO} "#!${SH}" > ${WRKSRC}/scripts/os
${ECHO} "echo ${ARCH}-${OPSYS:tl}${OSREL}" >> ${WRKSRC}/scripts/os
# Clean up turds from building the library. Some systems just have
# .o, some also end up with .s, so clean up both.
post-build:
@${RM} ${WRKSRC}/bin/*/*.[os]
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lmbench
${CP} ${FILESDIR}/Makefile ${STAGEDIR}${PREFIX}/lib/lmbench
tar --exclude \*.orig -C ${WRKSRC} -cf - bin scripts results | \
tar -C ${STAGEDIR}${PREFIX}/lib/lmbench -xf -
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${STAGEDIR}${PREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/doc/*.8 ${STAGEDIR}${PREFIX}/man/man8
${ECHO_CMD} ${STAGEDIR}${PREFIX}/lib/lmbench/bin/*/[^l]* \
${STAGEDIR}${PREFIX}/lib/lmbench/bin/*/l[iao]* \
${STAGEDIR}${PREFIX}/lib/lmbench/bin/*/lmdd \
${STAGEDIR}${PREFIX}/lib/lmbench/bin/*/lmhttp \
| ${XARGS} ${STRIP_CMD}
.include <bsd.port.mk>