2013-11-03 22:21:01 +01:00
|
|
|
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cpuminer
|
2017-09-07 20:31:48 +02:00
|
|
|
PORTVERSION= 2.5.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 4
|
2013-11-03 22:21:01 +01:00
|
|
|
CATEGORIES= net-p2p math
|
2015-05-11 20:34:57 +02:00
|
|
|
MASTER_SITES= SF/cpuminer
|
2013-11-06 08:42:18 +01:00
|
|
|
DISTNAME= pooler-${PORTNAME}-${PORTVERSION}
|
2013-11-03 22:21:01 +01:00
|
|
|
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
|
|
COMMENT= CPU miner for Litecoin and Bitcoin
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libjansson.so:devel/jansson
|
2013-11-03 22:21:01 +01:00
|
|
|
|
2018-09-10 15:14:50 +02:00
|
|
|
OPTIONS_DEFINE= GCC DOCS
|
2017-01-27 22:03:06 +01:00
|
|
|
OPTIONS_DEFAULT=GCC
|
|
|
|
|
2015-06-21 15:44:08 +02:00
|
|
|
USES= autoreconf cpe
|
|
|
|
GNU_CONFIGURE= yes
|
2015-05-17 20:15:46 +02:00
|
|
|
CPE_VENDOR= cpuminer_project
|
2013-11-06 08:42:18 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2013-11-03 22:21:01 +01:00
|
|
|
|
2014-04-01 22:17:56 +02:00
|
|
|
PLIST_FILES= bin/minerd man/man1/minerd.1.gz
|
2014-02-09 13:46:38 +01:00
|
|
|
PORTDOCS= NEWS README
|
|
|
|
|
2017-01-27 22:03:06 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MGCC}
|
|
|
|
# gcc yields higher hashrates on newer CPUs
|
|
|
|
USE_GCC?= yes
|
|
|
|
.endif
|
2013-11-03 22:21:01 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-02-09 13:46:38 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2013-11-03 22:21:01 +01:00
|
|
|
|
2013-11-08 16:08:30 +01:00
|
|
|
.include <bsd.port.mk>
|