mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Simplify port and use SF for DISTFILES
This commit is contained in:
parent
926f8799f6
commit
a685fc8b6d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332951
@ -3,26 +3,25 @@
|
||||
|
||||
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= curl:${PORTSDIR}/ftp/curl \
|
||||
jansson:${PORTSDIR}/devel/jansson
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= pooler
|
||||
GH_TAGNAME= v${PORTVERSION}
|
||||
GH_COMMIT= 8b30b7b
|
||||
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
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
PLIST_FILES= bin/minerd
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -31,11 +30,9 @@ USE_GCC= yes
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
.for FILE in NEWS README
|
||||
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (cpuminer-2.3.2.tar.gz) = c5f29f293e1b23b15a29e6e3569ca8cc6e963692677b1af9f9f1402e6884ef16
|
||||
SIZE (cpuminer-2.3.2.tar.gz) = 94862
|
||||
SHA256 (pooler-cpuminer-2.3.2.tar.gz) = 6fb2a96876fddd426b4b9a4d3861bfe9a605584a1fcc695f477882c45159b683
|
||||
SIZE (pooler-cpuminer-2.3.2.tar.gz) = 225137
|
||||
|
@ -1 +0,0 @@
|
||||
bin/minerd
|
Loading…
Reference in New Issue
Block a user