freebsd-ports/net-p2p/xmrig/Makefile
Tobias C. Berner ef8eaee757 net-p2p: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Attila Nagy <bra@fsn.hu>
  *  Chad J. Milios <milios@ccsys.com>
  *  Damian Gerow <dgerow@afflictions.org>
  *  Daniel Morante <daniel@morante.net>
  *  Dave Cottlehuber <dch@skunkwerks.at>
  *  Dereckson <dereckson@gmail.com>
  *  Devin Teske <dteske@FreeBSD.org>
  *  Dmitriy Limonov
  *  Doug Barton <dougb@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Florent Thoumie <flz@xbsd.org>
  *  Ganael LAPLANCHE <ganael.laplanche@martymac.org>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Holger Lamm <holger@e-gitt.net>
  *  Holger Lamm <holger@e-gitt.net> and Mario S F Ferreira <lioux@FreeBSD.org>
  *  Jeremy Faulkner <gldisater@gldis.ca>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Maxim Ignatenko <gelraen.ua@gmail.com>
  *  Michael Johnson <ahze@ahze.net>
  *  Munish Chopra <mchopra@engmail.uwaterloo.ca>
  *  Oleg Alexeenkov <proler@gmail.com>
  *  Oleg R. Muhutdinov <mor@WhiteLuna.com>
  *  Pankov Pavel <pankov_p@mail.ru>
  *  Pav Lucistnik <pav@oook.cz>
  *  Rod Taylor <rbt@zort.on.ca>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Shaun Amott <shaun@FreeBSD.org>
  *  Stas Timokhin <stast@bsdportal.ru>
  *  Sverrir Valgeirsson <e96sv@yahoo.se> and
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  Vasil Dimov <vd@FreeBSD.org>
  *  Yashin Dmitry <yashin.dm@gmail.com>
  *  glocke@bsdstammtisch.at

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

47 lines
1.4 KiB
Makefile

PORTNAME= xmrig
PORTVERSION= 6.18.0
DISTVERSIONPREFIX= v
CATEGORIES= net-p2p
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= High performance Monero (XMR) CPU miner
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= fails to compile: g++9: error: unrecognized command line option '-maes'; did you mean '-mads'?
BROKEN_riscv64= fails to compile: /nxb-bin/usr/lib/clang/11.0.0/include/cpuid.h:11:2: error: this header is for x86 only
USES= cmake compiler:c++11-lang ssl
USE_GITHUB= yes
USE_RC_SUBR= ${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME} \
USERS=${USERS}
USERS= xmrig
OPTIONS_DEFINE= HWLOC MICROHTTPD STATIC
OPTIONS_DEFAULT= HWLOC MICROHTTPD
HWLOC_DESC= Portable hardware locality
MICROHTTPD_DESC= Build with libmicrohttpd support
HWLOC_LIB_DEPENDS+= libhwloc.so.15:devel/hwloc2
HWLOC_CMAKE_OFF= -DWITH_HWLOC=OFF
MICROHTTPD_LIB_DEPENDS+= libmicrohttpd.so:www/libmicrohttpd \
libuv.so:devel/libuv
MICROHTTPD_CMAKE_OFF= -DWITH_HTTPD=OFF
STATIC_PREVENTS= HWLOC MICROHTTPD
STATIC_PREVENTS_MSG= hwloc and libmicrohttpd support cannot be built static
STATIC_BUILD_DEPENDS+= ${LOCALBASE}/lib/libuv.a:devel/libuv
STATIC_CMAKE_ON= -DBUILD_STATIC=ON
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/.build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/src/config.json ${STAGEDIR}${ETCDIR}/config.json.sample
.include <bsd.port.mk>