mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
a9f015d155
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
42 lines
855 B
Makefile
42 lines
855 B
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cpuminer
|
|
PORTVERSION= 2.5.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-p2p math
|
|
MASTER_SITES= SF/cpuminer
|
|
DISTNAME= pooler-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
COMMENT= CPU miner for Litecoin and Bitcoin
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libjansson.so:devel/jansson
|
|
|
|
OPTIONS_DEFINE= GCC DOCS
|
|
OPTIONS_DEFAULT=GCC
|
|
|
|
USES= autoreconf cpe
|
|
GNU_CONFIGURE= yes
|
|
CPE_VENDOR= cpuminer_project
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/minerd man/man1/minerd.1.gz
|
|
PORTDOCS= NEWS README
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGCC}
|
|
# gcc yields higher hashrates on newer CPUs
|
|
USE_GCC?= yes
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|