freebsd-ports/benchmarks/libmicro/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

44 lines
1.5 KiB
Makefile

PORTNAME= libmicro
PORTVERSION= 0.4.1
CATEGORIES= benchmarks
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of utilities to benchmark productivity of system calls
LICENSE= CDDL
BROKEN_mips64= Fails to build: bin-mips64: no such file or directory
BROKEN_riscv64= Fails to build: bin-riscv64: no such file or directory
USES= gmake
WRKSRC= ${WRKDIR}/libMicro-${PORTVERSION}
STRIP= # Do not strip binaries
PLIST_SUB= ARCH="${LIBMICRO_ARCH}"
PKGLIBDIR= ${PREFIX}/lib/${PORTNAME}
LIBMICRO_ARCH= ${ARCH:S/aarch64/arm64/:C/armv.*/arm/:C/powerpc64.*/powerpc/}
post-build:
${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/libmicro-bench
${ECHO_CMD} '(cd ${PKGLIBDIR} && ./bench $$1)' \
>> ${WRKDIR}/libmicro-bench.sh
do-install:
(cd ${WRKDIR} && ${INSTALL_SCRIPT} libmicro-bench.sh \
${STAGEDIR}${PREFIX}/bin/libmicro-bench)
(cd ${WRKSRC} && ${INSTALL_SCRIPT} multiview.sh \
${STAGEDIR}${PREFIX}/bin/multiview)
@${MKDIR} ${STAGEDIR}${PKGLIBDIR}
(cd ${WRKSRC} && ${INSTALL_SCRIPT} bench.sh \
${STAGEDIR}${PKGLIBDIR}/bench)
@${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH}
(cd ${WRKSRC}/bin-${LIBMICRO_ARCH} \
&& ${INSTALL_PROGRAM} exec_bin ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH})
(cd ${WRKSRC}/bin ; for i in * ; do ${INSTALL_PROGRAM} \
${WRKSRC}/bin-${LIBMICRO_ARCH}/$$i ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH} ; done)
@${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin
(cd ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH} ; for i in * ; do ${LN} -s \
../bin-${LIBMICRO_ARCH}/$$i ../bin ; done)
.include <bsd.port.mk>