forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (30 loc) · 855 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Martin Matuska <[email protected]>
# $FreeBSD$
PORTNAME= cpuminer
PORTVERSION= 2.5.0
PORTREVISION= 4
CATEGORIES= net-p2p math
MASTER_SITES= SF/cpuminer
DISTNAME= pooler-${PORTNAME}-${PORTVERSION}
MAINTAINER= [email protected]
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>