1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net-p2p/cpuminer/Makefile

36 lines
857 B
Makefile
Raw Normal View History

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= cpuminer
2014-05-25 10:42:18 +00:00
PORTVERSION= 2.4
PORTREVISION= 2
CATEGORIES= net-p2p math
2013-11-06 07:42:18 +00:00
MASTER_SITES= SF
MASTER_SITE_SUBDIR= cpuminer
DISTNAME= pooler-${PORTNAME}-${PORTVERSION}
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-06 07:42:18 +00:00
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_AUTOTOOLS= aclocal autoheader automake autoconf
AUTOMAKE_ARGS= --gnu --add-missing --copy
# gcc 4.6 yields higher hashrates on newer CPUs, gcc 4.8 even better
USE_GCC?= yes
PLIST_FILES= bin/minerd man/man1/minerd.1.gz
2014-02-09 12:46:38 +00:00
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
post-install:
2014-02-09 12:46:38 +00:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>