blob: 24acd2cfe23fd4a47de80d3e3e53bc67f04a8400 (
plain) (
blame)
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
|
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= cpuminer
PORTVERSION= 2.3.2
PORTREVISION= 1
CATEGORIES= net-p2p math
MASTER_SITES= SF
MASTER_SITE_SUBDIR= cpuminer
DISTNAME= pooler-${PORTNAME}-${PORTVERSION}
MAINTAINER= mm@FreeBSD.org
COMMENT= CPU miner for Litecoin and Bitcoin
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libjansson.so:${PORTSDIR}/devel/jansson
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_AUTOTOOLS= aclocal autoheader automake autoconf
AUTOMAKE_ARGS= --gnu --add-missing --copy
PLIST_FILES= bin/minerd
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 1000000
USE_GCC= yes
.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
.for FILE in NEWS README
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.post.mk>
|