2013-11-03 21:21:01 +00:00
|
|
|
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cpuminer
|
2014-05-25 10:42:18 +00:00
|
|
|
PORTVERSION= 2.4
|
2014-09-10 20:50:31 +00:00
|
|
|
PORTREVISION= 2
|
2013-11-03 21:21:01 +00:00
|
|
|
CATEGORIES= net-p2p math
|
2013-11-06 07:42:18 +00:00
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR= cpuminer
|
|
|
|
DISTNAME= pooler-${PORTNAME}-${PORTVERSION}
|
2013-11-03 21:21:01 +00:00
|
|
|
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
|
|
COMMENT= CPU miner for Litecoin and Bitcoin
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-11-06 07:42:18 +00:00
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
|
|
|
libjansson.so:${PORTSDIR}/devel/jansson
|
2013-11-03 21:21:01 +00:00
|
|
|
|
2013-11-06 07:42:18 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2013-11-03 21:21:01 +00:00
|
|
|
USE_AUTOTOOLS= aclocal autoheader automake autoconf
|
|
|
|
AUTOMAKE_ARGS= --gnu --add-missing --copy
|
2013-11-08 15:08:30 +00:00
|
|
|
# gcc 4.6 yields higher hashrates on newer CPUs, gcc 4.8 even better
|
|
|
|
USE_GCC?= yes
|
2013-11-03 21:21:01 +00:00
|
|
|
|
2014-04-01 20:17:56 +00:00
|
|
|
PLIST_FILES= bin/minerd man/man1/minerd.1.gz
|
2014-02-09 12:46:38 +00:00
|
|
|
PORTDOCS= NEWS README
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2013-11-03 21:21:01 +00:00
|
|
|
|
|
|
|
post-install:
|
2014-02-09 12:46:38 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2013-11-03 21:21:01 +00:00
|
|
|
|
2013-11-08 15:08:30 +00:00
|
|
|
.include <bsd.port.mk>
|