1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net-p2p/cpuminer/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

42 lines
855 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= cpuminer
PORTVERSION= 2.5.0
PORTREVISION= 3
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>